Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
Allow assigning_clones
Browse files Browse the repository at this point in the history
`clone_into` is only available in Rust 1.63 and since our MSRV is Rust
1.48 just shoosh clippy
  • Loading branch information
tcharding committed May 31, 2024
1 parent 673d796 commit cf3ccbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http/minreq_http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, Error> {
self.tp.url = url.to_owned();
Ok(self)
Expand Down

0 comments on commit cf3ccbc

Please sign in to comment.