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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);
}