mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-20 16:11:35 +03:00
Cargo clippy
This commit is contained in:
parent
9c5b34a14d
commit
1dc27584b5
@ -72,10 +72,7 @@ impl Updater {
|
||||
if bump_is_greater(¤t_version, &latest_release.version)? {
|
||||
Ok(latest_release.version)
|
||||
} else {
|
||||
Err(UpdaterError::OldReleaseVersion(
|
||||
current_version.to_string(),
|
||||
latest_release.version.to_string(),
|
||||
))
|
||||
Err(UpdaterError::OldReleaseVersion(current_version, latest_release.version))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user