From 123488f617927e5918c174dec9ff2a7e833f1e22 Mon Sep 17 00:00:00 2001 From: asonix Date: Sun, 12 Feb 2023 23:18:27 -0600 Subject: [PATCH] clippy --- src/repo/old/migrate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repo/old/migrate.rs b/src/repo/old/migrate.rs index 7af3829..82f00f4 100644 --- a/src/repo/old/migrate.rs +++ b/src/repo/old/migrate.rs @@ -82,7 +82,7 @@ enum DbVersion { impl DbVersion { fn exists(root: PathBuf) -> Self { - if s034::exists(root.clone()) { + if s034::exists(root) { return DbVersion::Sled034; }