Remove needless '&mut self' from HTMLLabelElementMethods.

This commit is contained in:
Tetsuharu OHZEKI 2014-05-31 03:04:00 +09:00
parent 8778f0056a
commit c426795052

View file

@ -38,7 +38,7 @@ impl HTMLLabelElement {
pub trait HTMLLabelElementMethods {
fn HtmlFor(&self) -> DOMString;
fn SetHtmlFor(&mut self, _html_for: DOMString);
fn SetHtmlFor(&self, _html_for: DOMString);
}
impl<'a> HTMLLabelElementMethods for JSRef<'a, HTMLLabelElement> {
@ -46,6 +46,6 @@ impl<'a> HTMLLabelElementMethods for JSRef<'a, HTMLLabelElement> {
"".to_owned()
}
fn SetHtmlFor(&mut self, _html_for: DOMString) {
fn SetHtmlFor(&self, _html_for: DOMString) {
}
}