mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
removed unneeded .clone()
(#11127)
This commit is contained in:
parent
5ef3d51390
commit
00eb9cc545
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ impl CredentialsCache {
|
|||
// Insert an entry for requests including the username
|
||||
let username = credentials.to_username();
|
||||
if username.is_some() {
|
||||
let realm = (Realm::from(url), username.clone());
|
||||
let realm = (Realm::from(url), username);
|
||||
self.insert_realm(realm, &credentials);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue