mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Remove needless '&mut self' from HTMLTableRawElementMethods.
This commit is contained in:
parent
b8ebd7bb7b
commit
8fc6821d80
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ pub trait HTMLTableRowElementMethods {
|
|||
fn GetRowIndex(&self) -> i32;
|
||||
fn SectionRowIndex(&self) -> i32;
|
||||
fn GetSectionRowIndex(&self) -> i32;
|
||||
fn DeleteCell(&mut self, _index: i32) -> ErrorResult;
|
||||
fn DeleteCell(&self, _index: i32) -> ErrorResult;
|
||||
fn Align(&self) -> DOMString;
|
||||
fn SetAlign(&self, _align: DOMString) -> ErrorResult;
|
||||
fn Ch(&self) -> DOMString;
|
||||
|
@ -72,7 +72,7 @@ impl<'a> HTMLTableRowElementMethods for JSRef<'a, HTMLTableRowElement> {
|
|||
0
|
||||
}
|
||||
|
||||
fn DeleteCell(&mut self, _index: i32) -> ErrorResult {
|
||||
fn DeleteCell(&self, _index: i32) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue