Remove needless '&mut self' from HTMLBRElementMethods.

This commit is contained in:
Tetsuharu OHZEKI 2014-05-31 02:36:23 +09:00
parent 41cd902ee0
commit 371ea692bd

View file

@ -39,7 +39,7 @@ impl HTMLBRElement {
pub trait HTMLBRElementMethods { pub trait HTMLBRElementMethods {
fn Clear(&self) -> DOMString; fn Clear(&self) -> DOMString;
fn SetClear(&mut self, _text: DOMString) -> ErrorResult; fn SetClear(&self, _text: DOMString) -> ErrorResult;
} }
impl<'a> HTMLBRElementMethods for JSRef<'a, HTMLBRElement> { impl<'a> HTMLBRElementMethods for JSRef<'a, HTMLBRElement> {
@ -47,7 +47,7 @@ impl<'a> HTMLBRElementMethods for JSRef<'a, HTMLBRElement> {
"".to_owned() "".to_owned()
} }
fn SetClear(&mut self, _text: DOMString) -> ErrorResult { fn SetClear(&self, _text: DOMString) -> ErrorResult {
Ok(()) Ok(())
} }
} }