From 9871ad2ee058b25fe3b803b14a1f4ee6b215d467 Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 14 Jul 2023 23:16:57 -0500 Subject: [PATCH] Clippy --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 509cfab..7825067 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1688,7 +1688,7 @@ where "Error generating details for motion file for hash {}", hex::encode(&hash) ); - return Err(e.into()); + return Err(e); } Err(MigrateError::From(e)) => { tracing::warn!("Error migrating motion file from old store"); @@ -1739,7 +1739,7 @@ where "Error generating details for variant file for hash {}", hex::encode(&hash) ); - return Err(e.into()); + return Err(e); } Err(MigrateError::From(e)) => { tracing::warn!("Error migrating variant file from old store"); @@ -1766,7 +1766,7 @@ where "Error generating details for original file for hash {}", hex::encode(&hash) ); - return Err(e.into()); + return Err(e); } Err(MigrateError::From(e)) => { tracing::warn!("Error migrating original file from old store");