mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-21 00:21:47 +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)? {
|
if bump_is_greater(¤t_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(),
|
|
||||||
))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user