From 1dc27584b5de0bc0e0d8088b79687845baacf33d Mon Sep 17 00:00:00 2001 From: raychu86 Date: Fri, 4 Dec 2020 17:19:48 -0800 Subject: [PATCH] Cargo clippy --- leo/updater.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/leo/updater.rs b/leo/updater.rs index 35a1e88989..a37ee7d184 100644 --- a/leo/updater.rs +++ b/leo/updater.rs @@ -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)) } }