mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove needless '&mut self' from HTMLBRElementMethods.
This commit is contained in:
parent
41cd902ee0
commit
371ea692bd
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ impl HTMLBRElement {
|
|||
|
||||
pub trait HTMLBRElementMethods {
|
||||
fn Clear(&self) -> DOMString;
|
||||
fn SetClear(&mut self, _text: DOMString) -> ErrorResult;
|
||||
fn SetClear(&self, _text: DOMString) -> ErrorResult;
|
||||
}
|
||||
|
||||
impl<'a> HTMLBRElementMethods for JSRef<'a, HTMLBRElement> {
|
||||
|
@ -47,7 +47,7 @@ impl<'a> HTMLBRElementMethods for JSRef<'a, HTMLBRElement> {
|
|||
"".to_owned()
|
||||
}
|
||||
|
||||
fn SetClear(&mut self, _text: DOMString) -> ErrorResult {
|
||||
fn SetClear(&self, _text: DOMString) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue