From 0f46dcd4857610a7e2770c6335bb88f32057dcf2 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 17 May 2024 13:27:10 +1000 Subject: [PATCH] Allow assigning_clones `clone_into` is only available in Rust 1.63 and since our MSRV is Rust 1.48 just shoosh clippy --- src/http/minreq_http.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/http/minreq_http.rs b/src/http/minreq_http.rs index 96b5a81..067e479 100644 --- a/src/http/minreq_http.rs +++ b/src/http/minreq_http.rs @@ -121,6 +121,7 @@ impl Builder { } /// Sets the URL of the server to the transport. + #[allow(clippy::assigning_clones)] // clone_into is only available in Rust 1.63 pub fn url(mut self, url: &str) -> Result { self.tp.url = url.to_owned(); Ok(self)