aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 02:57:02 +0900
committerTetsuharu OHZEKI <saneyuki.snyk@gmail.com>2014-05-31 03:11:16 +0900
commitd6563d01d40bc52a1518c2ddbd6bdc5bee6daebd (patch)
treefd33e90a8c6bcfc2eed322f534c332e4ef633aac
parent1295d75cbf30e0cc66b23712ac151c98cefacebc (diff)
downloadservo-d6563d01d40bc52a1518c2ddbd6bdc5bee6daebd.tar.gz
servo-d6563d01d40bc52a1518c2ddbd6bdc5bee6daebd.zip
Remove needless '&mut self' from HTMLDivElementMethods.
-rw-r--r--src/components/script/dom/htmldivelement.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmldivelement.rs b/src/components/script/dom/htmldivelement.rs
index 8f3875e914b..90fcdd82f16 100644
--- a/src/components/script/dom/htmldivelement.rs
+++ b/src/components/script/dom/htmldivelement.rs
@@ -39,7 +39,7 @@ impl HTMLDivElement {
pub trait HTMLDivElementMethods {
fn Align(&self) -> DOMString;
- fn SetAlign(&mut self, _align: DOMString) -> ErrorResult;
+ fn SetAlign(&self, _align: DOMString) -> ErrorResult;
}
impl<'a> HTMLDivElementMethods for JSRef<'a, HTMLDivElement> {
@@ -47,7 +47,7 @@ impl<'a> HTMLDivElementMethods for JSRef<'a, HTMLDivElement> {
"".to_owned()
}
- fn SetAlign(&mut self, _align: DOMString) -> ErrorResult {
+ fn SetAlign(&self, _align: DOMString) -> ErrorResult {
Ok(())
}
}