]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/fetcher/fetch.rs
Running clippy --fix (#1647)
[lemmy.git] / crates / apub / src / fetcher / fetch.rs
index 03f9e3fb2e70a8726916aa7f20656cf966974333..128ccf1f77132e6a89a1a70566d29bf3bf505f8f 100644 (file)
@@ -60,7 +60,7 @@ where
   if *recursion_counter > MAX_REQUEST_NUMBER {
     return Err(LemmyError::from(anyhow!("Maximum recursion depth reached")).into());
   }
-  check_is_apub_id_valid(&url, false)?;
+  check_is_apub_id_valid(url, false)?;
 
   let timeout = Duration::from_secs(60);