mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
clippy fixes regarding clone_from (#32482)
This commit is contained in:
parent
fd472ebd0e
commit
0a641816bf
12 changed files with 35 additions and 19 deletions
|
@ -324,7 +324,10 @@ impl MutationObserverMethods for MutationObserver {
|
|||
registered.options.character_data_old_value = character_data_old_value;
|
||||
registered.options.child_list = child_list;
|
||||
registered.options.subtree = subtree;
|
||||
registered.options.attribute_filter = attribute_filter.clone();
|
||||
registered
|
||||
.options
|
||||
.attribute_filter
|
||||
.clone_from(&attribute_filter);
|
||||
replaced = true;
|
||||
}
|
||||
!replaced
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue