mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
Remove needless '&mut self' from HTMLDataElementMethods.
This commit is contained in:
parent
803f8a33e5
commit
3092ea2055
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ impl HTMLDataElement {
|
||||||
|
|
||||||
pub trait HTMLDataElementMethods {
|
pub trait HTMLDataElementMethods {
|
||||||
fn Value(&self) -> DOMString;
|
fn Value(&self) -> DOMString;
|
||||||
fn SetValue(&mut self, _value: DOMString) -> ErrorResult;
|
fn SetValue(&self, _value: DOMString) -> ErrorResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> HTMLDataElementMethods for JSRef<'a, HTMLDataElement> {
|
impl<'a> HTMLDataElementMethods for JSRef<'a, HTMLDataElement> {
|
||||||
|
@ -47,7 +47,7 @@ impl<'a> HTMLDataElementMethods for JSRef<'a, HTMLDataElement> {
|
||||||
"".to_owned()
|
"".to_owned()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn SetValue(&mut self, _value: DOMString) -> ErrorResult {
|
fn SetValue(&self, _value: DOMString) -> ErrorResult {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue