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