mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Remove needless '&mut self' from HTMLAreaElementMethods.
This commit is contained in:
parent
4b40fbabc9
commit
41cd902ee0
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ pub trait HTMLAreaElementMethods {
|
|||
fn Ping(&self) -> DOMString;
|
||||
fn SetPing(&self, _ping: DOMString) -> ErrorResult;
|
||||
fn NoHref(&self) -> bool;
|
||||
fn SetNoHref(&mut self, _no_href: bool) -> ErrorResult;
|
||||
fn SetNoHref(&self, _no_href: bool) -> ErrorResult;
|
||||
}
|
||||
|
||||
impl<'a> HTMLAreaElementMethods for JSRef<'a, HTMLAreaElement> {
|
||||
|
@ -117,7 +117,7 @@ impl<'a> HTMLAreaElementMethods for JSRef<'a, HTMLAreaElement> {
|
|||
false
|
||||
}
|
||||
|
||||
fn SetNoHref(&mut self, _no_href: bool) -> ErrorResult {
|
||||
fn SetNoHref(&self, _no_href: bool) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue