diff options
author | Oluwatobi Sofela <60105594+oluwatobiss@users.noreply.github.com> | 2024-03-21 00:05:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 23:05:29 +0000 |
commit | 2789e9887666a05695778bd9d822616985b40dbc (patch) | |
tree | 69400ac55fd84db0ec60e69d71d17f9e6d221e99 /components/script/dom/mutationobserver.rs | |
parent | f55d1d288e4ede7da3090e853a0a0f6aab42c113 (diff) | |
download | servo-2789e9887666a05695778bd9d822616985b40dbc.tar.gz servo-2789e9887666a05695778bd9d822616985b40dbc.zip |
clippy: Fix redundant field names warnings (#31793)
Diffstat (limited to 'components/script/dom/mutationobserver.rs')
-rw-r--r-- | components/script/dom/mutationobserver.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/mutationobserver.rs b/components/script/dom/mutationobserver.rs index d923311e09c..12e9f2b046d 100644 --- a/components/script/dom/mutationobserver.rs +++ b/components/script/dom/mutationobserver.rs @@ -80,7 +80,7 @@ impl MutationObserver { fn new_inherited(callback: Rc<MutationCallback>) -> MutationObserver { MutationObserver { reflector_: Reflector::new(), - callback: callback, + callback, record_queue: DomRefCell::new(vec![]), node_list: DomRefCell::new(vec![]), } |