aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 03:05:13 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 03:11:17 +0900
commit857a731eaa62512e4045d54a5a306e435be86151 (patch)
treeaf9b13c312ec49ab4428c73c615e35bc97564e28 /src
parent485a32d48b3dba18d5b6acb8e64b45471a79a730 (diff)
downloadservo-857a731eaa62512e4045d54a5a306e435be86151.tar.gz
servo-857a731eaa62512e4045d54a5a306e435be86151.zip
Remove needless '&mut self' from HTMLHtmlElementMethods.
Diffstat (limited to 'src')
-rw-r--r--src/components/script/dom/htmlhtmlelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmlhtmlelement.rs b/src/components/script/dom/htmlhtmlelement.rs
index 29c4fc3176e..114b637f653 100644
--- a/src/components/script/dom/htmlhtmlelement.rs
+++ b/src/components/script/dom/htmlhtmlelement.rs
@@ -39,7 +39,7 @@ impl HTMLHtmlElement {
pub trait HTMLHtmlElementMethods {
fn Version(&self) -> DOMString;
- fn SetVersion(&mut self, _version: DOMString) -> ErrorResult;
+ fn SetVersion(&self, _version: DOMString) -> ErrorResult;
}
impl<'a> HTMLHtmlElementMethods for JSRef<'a, HTMLHtmlElement> {
@@ -47,7 +47,7 @@ impl<'a> HTMLHtmlElementMethods for JSRef<'a, HTMLHtmlElement> {
"".to_owned()
}
- fn SetVersion(&mut self, _version: DOMString) -> ErrorResult {
+ fn SetVersion(&self, _version: DOMString) -> ErrorResult {
Ok(())
}
}