mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Remove needless '&mut self' from HTMLMapElementMethods.
This commit is contained in:
parent
e57d18dbc8
commit
f30ea51154
1 changed files with 2 additions and 2 deletions
|
@ -40,7 +40,7 @@ impl HTMLMapElement {
|
|||
|
||||
pub trait HTMLMapElementMethods {
|
||||
fn Name(&self) -> DOMString;
|
||||
fn SetName(&mut self, _name: DOMString) -> ErrorResult;
|
||||
fn SetName(&self, _name: DOMString) -> ErrorResult;
|
||||
fn Areas(&self) -> Temporary<HTMLCollection>;
|
||||
}
|
||||
|
||||
|
@ -49,7 +49,7 @@ impl<'a> HTMLMapElementMethods for JSRef<'a, HTMLMapElement> {
|
|||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetName(&mut self, _name: DOMString) -> ErrorResult {
|
||||
fn SetName(&self, _name: DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue