Skip to content

Commit

Permalink
refactor: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
matthunz committed Dec 5, 2024
1 parent e46a859 commit cf1a387
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/compose/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ fn drop_node(nodes: &mut SlotMap<DefaultKey, Rc<Node>>, key: DefaultKey) {
parent.children.borrow_mut().retain(|&x| x != key);
}

//Runtime::current().pending.borrow_mut().retain(|&x| x != key);

let children = node.children.borrow().clone();
for key in children {
drop_node(nodes, key)
Expand Down
1 change: 0 additions & 1 deletion src/composer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ impl AnyCompose for ComposePtr {
unsafe fn reborrow(&mut self, ptr: *mut ()) {
match self {
ComposePtr::Boxed(compose) => compose.reborrow(ptr),
// TODO
ComposePtr::Ptr(_) => {}
}
}
Expand Down

0 comments on commit cf1a387

Please sign in to comment.