mirror of https://github.com/astral-sh/uv
removed unneeded `.clone()` (#11127)
This commit is contained in:
parent
5ef3d51390
commit
00eb9cc545
|
|
@ -97,7 +97,7 @@ impl CredentialsCache {
|
||||||
// Insert an entry for requests including the username
|
// Insert an entry for requests including the username
|
||||||
let username = credentials.to_username();
|
let username = credentials.to_username();
|
||||||
if username.is_some() {
|
if username.is_some() {
|
||||||
let realm = (Realm::from(url), username.clone());
|
let realm = (Realm::from(url), username);
|
||||||
self.insert_realm(realm, &credentials);
|
self.insert_realm(realm, &credentials);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue