mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Remove needless '&mut self' from HTMLTableElementMethods.
This commit is contained in:
parent
92bf6ac9fa
commit
b8ebd7bb7b
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ pub trait HTMLTableElementMethods {
|
|||
fn DeleteCaption(&self);
|
||||
fn DeleteTHead(&self);
|
||||
fn DeleteTFoot(&self);
|
||||
fn DeleteRow(&mut self, _index: i32) -> ErrorResult;
|
||||
fn DeleteRow(&self, _index: i32) -> ErrorResult;
|
||||
fn Sortable(&self) -> bool;
|
||||
fn SetSortable(&self, _sortable: bool);
|
||||
fn StopSorting(&self);
|
||||
|
@ -75,7 +75,7 @@ impl<'a> HTMLTableElementMethods for JSRef<'a, HTMLTableElement> {
|
|||
fn DeleteTFoot(&self) {
|
||||
}
|
||||
|
||||
fn DeleteRow(&mut self, _index: i32) -> ErrorResult {
|
||||
fn DeleteRow(&self, _index: i32) -> ErrorResult {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue