removed unneeded .clone() (#11127)

This commit is contained in:
JackDyre
2025-01-31 04:12:18 -06:00
committed by GitHub
parent 5ef3d51390
commit 00eb9cc545
+1 -1
View File
@@ -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);
}