clippy: fix some leftover warnings in components/net (#32476)

This commit is contained in:
Peter Mikola 2024-06-11 19:50:21 +02:00 committed by GitHub
parent 55d067091c
commit 3c06536cb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 20 additions and 9 deletions

View file

@ -226,7 +226,7 @@ impl StorageManager {
.send(
data.get(&origin)
.and_then(|(_, entry)| entry.get(&name))
.map(String::clone),
.cloned(),
)
.unwrap();
}