Cargo clippy

This commit is contained in:
raychu86 2020-12-04 17:19:48 -08:00
parent 9c5b34a14d
commit 1dc27584b5

View File

@ -72,10 +72,7 @@ impl Updater {
if bump_is_greater(&current_version, &latest_release.version)? { if bump_is_greater(&current_version, &latest_release.version)? {
Ok(latest_release.version) Ok(latest_release.version)
} else { } else {
Err(UpdaterError::OldReleaseVersion( Err(UpdaterError::OldReleaseVersion(current_version, latest_release.version))
current_version.to_string(),
latest_release.version.to_string(),
))
} }
} }