mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove needless '&mut self' from HTMLLegendElementMethods.
This commit is contained in:
parent
5a19953de4
commit
8778f0056a
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ impl HTMLLegendElement {
|
||||||
|
|
||||||
pub trait HTMLLegendElementMethods {
|
pub trait HTMLLegendElementMethods {
|
||||||
fn Align(&self) -> DOMString;
|
fn Align(&self) -> DOMString;
|
||||||
fn SetAlign(&mut self, _align: DOMString) -> ErrorResult;
|
fn SetAlign(&self, _align: DOMString) -> ErrorResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> HTMLLegendElementMethods for JSRef<'a, HTMLLegendElement> {
|
impl<'a> HTMLLegendElementMethods for JSRef<'a, HTMLLegendElement> {
|
||||||
|
@ -47,7 +47,7 @@ impl<'a> HTMLLegendElementMethods for JSRef<'a, HTMLLegendElement> {
|
||||||
"".to_owned()
|
"".to_owned()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn SetAlign(&mut self, _align: DOMString) -> ErrorResult {
|
fn SetAlign(&self, _align: DOMString) -> ErrorResult {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue