Remove needless '&mut self' from HTMLTableElementMethods.

This commit is contained in:
Tetsuharu OHZEKI 2014-05-31 02:14:05 +09:00
parent 92bf6ac9fa
commit b8ebd7bb7b

View file

@ -41,7 +41,7 @@ pub trait HTMLTableElementMethods {
fn DeleteCaption(&self); fn DeleteCaption(&self);
fn DeleteTHead(&self); fn DeleteTHead(&self);
fn DeleteTFoot(&self); fn DeleteTFoot(&self);
fn DeleteRow(&mut self, _index: i32) -> ErrorResult; fn DeleteRow(&self, _index: i32) -> ErrorResult;
fn Sortable(&self) -> bool; fn Sortable(&self) -> bool;
fn SetSortable(&self, _sortable: bool); fn SetSortable(&self, _sortable: bool);
fn StopSorting(&self); fn StopSorting(&self);
@ -75,7 +75,7 @@ impl<'a> HTMLTableElementMethods for JSRef<'a, HTMLTableElement> {
fn DeleteTFoot(&self) { fn DeleteTFoot(&self) {
} }
fn DeleteRow(&mut self, _index: i32) -> ErrorResult { fn DeleteRow(&self, _index: i32) -> ErrorResult {
Ok(()) Ok(())
} }