diff options
author | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-05-31 02:11:14 +0900 |
---|---|---|
committer | Tetsuharu OHZEKI <saneyuki.snyk@gmail.com> | 2014-05-31 03:11:13 +0900 |
commit | b5b07234515b78572d51e3428e51c39b5e52c6d2 (patch) | |
tree | 802eab10e639f8f5bafb05db916cf3cd52c19d74 /src/components/script/dom/htmltablecaptionelement.rs | |
parent | 9dd2d4a288677f226760aee9f57d5f756ec404b8 (diff) | |
download | servo-b5b07234515b78572d51e3428e51c39b5e52c6d2.tar.gz servo-b5b07234515b78572d51e3428e51c39b5e52c6d2.zip |
Remove needless '&mut self' from HTMLTableCaptionElementMethods.
Diffstat (limited to 'src/components/script/dom/htmltablecaptionelement.rs')
-rw-r--r-- | src/components/script/dom/htmltablecaptionelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/script/dom/htmltablecaptionelement.rs b/src/components/script/dom/htmltablecaptionelement.rs index 01bdbff9255..bfa42b893a9 100644 --- a/src/components/script/dom/htmltablecaptionelement.rs +++ b/src/components/script/dom/htmltablecaptionelement.rs @@ -39,7 +39,7 @@ impl HTMLTableCaptionElement { pub trait HTMLTableCaptionElementMethods { fn Align(&self) -> DOMString; - fn SetAlign(&mut self, _align: DOMString) -> ErrorResult; + fn SetAlign(&self, _align: DOMString) -> ErrorResult; } impl<'a> HTMLTableCaptionElementMethods for JSRef<'a, HTMLTableCaptionElement> { @@ -47,7 +47,7 @@ impl<'a> HTMLTableCaptionElementMethods for JSRef<'a, HTMLTableCaptionElement> { "".to_owned() } - fn SetAlign(&mut self, _align: DOMString) -> ErrorResult { + fn SetAlign(&self, _align: DOMString) -> ErrorResult { Ok(()) } } |