mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove needless '&mut self' from HTMLLabelElementMethods.
This commit is contained in:
parent
8778f0056a
commit
c426795052
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ impl HTMLLabelElement {
|
||||||
|
|
||||||
pub trait HTMLLabelElementMethods {
|
pub trait HTMLLabelElementMethods {
|
||||||
fn HtmlFor(&self) -> DOMString;
|
fn HtmlFor(&self) -> DOMString;
|
||||||
fn SetHtmlFor(&mut self, _html_for: DOMString);
|
fn SetHtmlFor(&self, _html_for: DOMString);
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> HTMLLabelElementMethods for JSRef<'a, HTMLLabelElement> {
|
impl<'a> HTMLLabelElementMethods for JSRef<'a, HTMLLabelElement> {
|
||||||
|
@ -46,6 +46,6 @@ impl<'a> HTMLLabelElementMethods for JSRef<'a, HTMLLabelElement> {
|
||||||
"".to_owned()
|
"".to_owned()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn SetHtmlFor(&mut self, _html_for: DOMString) {
|
fn SetHtmlFor(&self, _html_for: DOMString) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue