From 1538389caf3795b53f537f09e417bae7d0f600d6 Mon Sep 17 00:00:00 2001 From: asonix Date: Sat, 11 Nov 2023 14:28:05 -0600 Subject: [PATCH] Clippy --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index f8460f1..1d7dc32 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -123,7 +123,7 @@ async fn ensure_details_identifier( config: &Configuration, identifier: &Arc, ) -> Result { - let details = repo.details(&identifier).await?; + let details = repo.details(identifier).await?; if let Some(details) = details { tracing::debug!("details exist"); @@ -542,7 +542,7 @@ async fn ingest_inline( client: &ClientWithMiddleware, config: &Configuration, ) -> Result<(Alias, DeleteToken, Details), Error> { - let session = ingest::ingest(tmp_dir, repo, store, client, stream, None, &config).await?; + let session = ingest::ingest(tmp_dir, repo, store, client, stream, None, config).await?; let alias = session.alias().expect("alias should exist").to_owned();