clippy fixes regarding clone_from (#32482)

This commit is contained in:
Peter Mikola 2024-06-12 19:09:56 +02:00 committed by GitHub
parent fd472ebd0e
commit 0a641816bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 35 additions and 19 deletions

View file

@ -348,7 +348,7 @@ impl BrowsingContextActor {
}
*self.url.borrow_mut() = url.as_str().to_owned();
if let Some(ref t) = title {
*self.title.borrow_mut() = t.clone();
self.title.borrow_mut().clone_from(t);
}
let msg = TabNavigated {