mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
clippy: fix some warnings in desktop and some components (#32583)
* clippy: fix some warnings in ports/servoshell/desktop Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com> * style: fix formatting Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com> * clippy: fix warnings in bluetooth, devtools and servo components Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com> * clippy: remove comments Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com> --------- Signed-off-by: ItsSunnyMonster <100400733+ItsSunnyMonster@users.noreply.github.com>
This commit is contained in:
parent
6738902d45
commit
42e090a1eb
6 changed files with 13 additions and 12 deletions
|
@ -298,7 +298,7 @@ impl BrowsingContextActor {
|
|||
if let Some(p) = pipeline {
|
||||
self.active_pipeline.set(p);
|
||||
}
|
||||
*self.url.borrow_mut() = url.as_str().to_owned();
|
||||
url.as_str().clone_into(&mut self.url.borrow_mut());
|
||||
if let Some(ref t) = title {
|
||||
self.title.borrow_mut().clone_from(t);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue