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/htmltablerowelement.rs | |
parent | 1dfc0481efd4687658ab34e68c883caeadd8b20f (diff) | |
download | servo-16fa9cabc92e8c69c1161a20b58d0e32c7ab40c2.tar.gz servo-16fa9cabc92e8c69c1161a20b58d0e32c7ab40c2.zip |
Fix some rust-clippy violations
Diffstat (limited to 'components/script/dom/htmltablerowelement.rs')
-rw-r--r-- | components/script/dom/htmltablerowelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmltablerowelement.rs b/components/script/dom/htmltablerowelement.rs index 8db70bd9d2a..e7bb8b1fd6d 100644 --- a/components/script/dom/htmltablerowelement.rs +++ b/components/script/dom/htmltablerowelement.rs @@ -102,8 +102,8 @@ impl VirtualMethods for HTMLTableRowElement { fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) { self.super_type().unwrap().attribute_mutated(attr, mutation); - match attr.local_name() { - &atom!(bgcolor) => { + match *attr.local_name() { + atom!(bgcolor) => { self.background_color.set(mutation.new_value(attr).and_then(|value| { str::parse_legacy_color(&value).ok() })); |