aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 02:00:29 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 03:11:13 +0900
commiteccb5acad1e0971bffd29a82aaa409453abfc298 (patch)
tree9cb49750d1ac706db16fbb2ea783a983e2a45271 /src
parent296394fe5c323af6b3719c76abe899aa000c3bba (diff)
downloadservo-eccb5acad1e0971bffd29a82aaa409453abfc298.tar.gz
servo-eccb5acad1e0971bffd29a82aaa409453abfc298.zip
Remove needless '&mut self' from HTMLParamElementMethods.
Diffstat (limited to 'src')
-rw-r--r--src/components/script/dom/htmlparamelement.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/components/script/dom/htmlparamelement.rs b/src/components/script/dom/htmlparamelement.rs
index 5cb09b47d32..e9bc3cd07fa 100644
--- a/src/components/script/dom/htmlparamelement.rs
+++ b/src/components/script/dom/htmlparamelement.rs
@@ -39,13 +39,13 @@ impl HTMLParamElement {
pub trait HTMLParamElementMethods {
fn Name(&self) -> DOMString;
- fn SetName(&mut self, _name: DOMString) -> ErrorResult;
+ fn SetName(&self, _name: DOMString) -> ErrorResult;
fn Value(&self) -> DOMString;
- fn SetValue(&mut self, _value: DOMString) -> ErrorResult;
+ fn SetValue(&self, _value: DOMString) -> ErrorResult;
fn Type(&self) -> DOMString;
- fn SetType(&mut self, _type: DOMString) -> ErrorResult;
+ fn SetType(&self, _type: DOMString) -> ErrorResult;
fn ValueType(&self) -> DOMString;
- fn SetValueType(&mut self, _value_type: DOMString) -> ErrorResult;
+ fn SetValueType(&self, _value_type: DOMString) -> ErrorResult;
}
impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
@@ -53,7 +53,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetName(&mut self, _name: DOMString) -> ErrorResult {
+ fn SetName(&self, _name: DOMString) -> ErrorResult {
Ok(())
}
@@ -61,7 +61,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetValue(&mut self, _value: DOMString) -> ErrorResult {
+ fn SetValue(&self, _value: DOMString) -> ErrorResult {
Ok(())
}
@@ -69,7 +69,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetType(&mut self, _type: DOMString) -> ErrorResult {
+ fn SetType(&self, _type: DOMString) -> ErrorResult {
Ok(())
}
@@ -77,7 +77,7 @@ impl<'a> HTMLParamElementMethods for JSRef<'a, HTMLParamElement> {
"".to_owned()
}
- fn SetValueType(&mut self, _value_type: DOMString) -> ErrorResult {
+ fn SetValueType(&self, _value_type: DOMString) -> ErrorResult {
Ok(())
}
}