Skip to content

Commit 00eb9cc

Browse files
authored
removed unneeded .clone() (#11127)
1 parent 5ef3d51 commit 00eb9cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/uv-auth/src/cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl CredentialsCache {
9797
// Insert an entry for requests including the username
9898
let username = credentials.to_username();
9999
if username.is_some() {
100-
let realm = (Realm::from(url), username.clone());
100+
let realm = (Realm::from(url), username);
101101
self.insert_realm(realm, &credentials);
102102
}
103103

0 commit comments

Comments
 (0)