aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/htmllegendelement.rs
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 03:03:22 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 03:11:17 +0900
commit8778f0056a6fba325dfd04f981decd5699408321 (patch)
tree67a7b261a305a86c8117f7cd217476ab47505975 /src/components/script/dom/htmllegendelement.rs
parent5a19953de4f3dc76293cb8f054c558f98b807442 (diff)
downloadservo-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.rs4
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(())
}
}