all: remove dead code
This commit is contained in:
parent
a20008d446
commit
8cee61122e
32 changed files with 9 additions and 145 deletions
|
|
@ -4,10 +4,6 @@ use {
|
|||
};
|
||||
|
||||
pub trait ContainingNode: Node {
|
||||
fn cnode_as_node(&self) -> &dyn Node;
|
||||
fn cnode_into_node(self: Rc<Self>) -> Rc<dyn Node>;
|
||||
fn cnode_into_dyn(self: Rc<Self>) -> Rc<dyn ContainingNode>;
|
||||
|
||||
fn cnode_replace_child(self: Rc<Self>, old: &dyn Node, new: Rc<dyn ToplevelNode>);
|
||||
fn cnode_remove_child(self: Rc<Self>, child: &dyn Node) {
|
||||
self.cnode_remove_child2(child, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue