diff options
author | Corey Farwell <coreyf@rwell.org> | 2015-10-30 18:41:22 -0400 |
---|---|---|
committer | Corey Farwell <coreyf@rwell.org> | 2015-10-30 18:41:22 -0400 |
commit | 16fa9cabc92e8c69c1161a20b58d0e32c7ab40c2 (patch) | |
tree | 434fe52411427d9dd609e922ea1d865ef95034af /components/script/dom/htmlscriptelement.rs | |
parent | 1dfc0481efd4687658ab34e68c883caeadd8b20f (diff) | |
download | servo-16fa9cabc92e8c69c1161a20b58d0e32c7ab40c2.tar.gz servo-16fa9cabc92e8c69c1161a20b58d0e32c7ab40c2.zip |
Fix some rust-clippy violations
Diffstat (limited to 'components/script/dom/htmlscriptelement.rs')
-rw-r--r-- | components/script/dom/htmlscriptelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs index 97fefdf30e2..118c0648e77 100644 --- a/components/script/dom/htmlscriptelement.rs +++ b/components/script/dom/htmlscriptelement.rs @@ -562,8 +562,8 @@ impl VirtualMethods for HTMLScriptElement { fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) { self.super_type().unwrap().attribute_mutated(attr, mutation); - match attr.local_name() { - &atom!("src") => { + match *attr.local_name() { + atom!("src") => { if let AttributeMutation::Set(_) = mutation { if !self.parser_inserted.get() && self.upcast::<Node>().is_in_doc() { self.prepare(); |