mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Remove needless '&mut self' from HTMLHeadingElementMethods.
This commit is contained in:
parent
dacc43d4eb
commit
8329b9e1e2
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ impl HTMLHeadingElement {
|
|||
|
||||
pub trait HTMLHeadingElementMethods {
|
||||
fn Align(&self) -> DOMString;
|
||||
fn SetAlign(&mut self, _align: DOMString);
|
||||
fn SetAlign(&self, _align: DOMString);
|
||||
}
|
||||
|
||||
impl<'a> HTMLHeadingElementMethods for JSRef<'a, HTMLHeadingElement> {
|
||||
|
@ -58,6 +58,6 @@ impl<'a> HTMLHeadingElementMethods for JSRef<'a, HTMLHeadingElement> {
|
|||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetAlign(&mut self, _align: DOMString) {
|
||||
fn SetAlign(&self, _align: DOMString) {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue