diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-05-31 03:03:22 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-05-31 03:11:17 +0900 |
commit | 8778f0056a6fba325dfd04f981decd5699408321 (patch) | |
tree | 67a7b261a305a86c8117f7cd217476ab47505975 /src/components/script/dom/htmllegendelement.rs | |
parent | 5a19953de4f3dc76293cb8f054c558f98b807442 (diff) | |
download | servo-8778f0056a6fba325dfd04f981decd5699408321.tar.gz servo-8778f0056a6fba325dfd04f981decd5699408321.zip |
Remove needless '&mut self' from HTMLLegendElementMethods.
Diffstat (limited to 'src/components/script/dom/htmllegendelement.rs')
-rw-r--r-- | src/components/script/dom/htmllegendelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmllegendelement.rs b/src/components/script/dom/htmllegendelement.rs index e2e7d49f905..85bbb4deae7 100644 --- a/src/components/script/dom/htmllegendelement.rs +++ b/src/components/script/dom/htmllegendelement.rs @@ -39,7 +39,7 @@ impl HTMLLegendElement { pub trait HTMLLegendElementMethods { fn Align(&self) -> DOMString; - fn SetAlign(&mut self, _align: DOMString) -> ErrorResult; + fn SetAlign(&self, _align: DOMString) -> ErrorResult; } impl<'a> HTMLLegendElementMethods for JSRef<'a, HTMLLegendElement> { @@ -47,7 +47,7 @@ impl<'a> HTMLLegendElementMethods for JSRef<'a, HTMLLegendElement> { "".to_owned() } - fn SetAlign(&mut self, _align: DOMString) -> ErrorResult { + fn SetAlign(&self, _align: DOMString) -> ErrorResult { Ok(()) } } |