From 40bb58d603b917782e1cc190dc17b0f68eeb13eb Mon Sep 17 00:00:00 2001 From: asonix Date: Sun, 3 Mar 2024 11:13:51 -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 927abd9..d6c765b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1207,9 +1207,9 @@ async fn proxy_alias_from_query( let alias = if let Some(alias) = state.repo.related(proxy.clone()).await? { alias } else if !state.config.server.read_only { - let stream = download_stream(proxy.as_str(), &state).await?; + let stream = download_stream(proxy.as_str(), state).await?; - let (alias, _, _) = ingest_inline(stream, &state).await?; + let (alias, _, _) = ingest_inline(stream, state).await?; state.repo.relate_url(proxy, alias.clone()).await?;