mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Remove unnecessary '*_mut' methods
This commit is contained in:
parent
1b20bc90ee
commit
1e6d95f750
1 changed files with 2 additions and 2 deletions
|
@ -79,8 +79,8 @@ impl Page {
|
|||
pub fn remove(&self, id: PipelineId) -> Option<Rc<Page>> {
|
||||
let remove_idx = {
|
||||
self.children
|
||||
.borrow_mut()
|
||||
.iter_mut()
|
||||
.borrow()
|
||||
.iter()
|
||||
.position(|page_tree| page_tree.id == id)
|
||||
};
|
||||
match remove_idx {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue