all: remove dead code
This commit is contained in:
parent
a20008d446
commit
8cee61122e
32 changed files with 9 additions and 145 deletions
|
|
@ -467,33 +467,9 @@ macro_rules! fatal {
|
|||
|
||||
macro_rules! stacked_node_impl {
|
||||
() => {
|
||||
fn stacked_as_node(&self) -> &dyn Node {
|
||||
self
|
||||
}
|
||||
|
||||
fn stacked_into_node(self: Rc<Self>) -> Rc<dyn Node> {
|
||||
self
|
||||
}
|
||||
|
||||
fn stacked_into_dyn(self: Rc<Self>) -> Rc<dyn StackedNode> {
|
||||
self
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
macro_rules! containing_node_impl {
|
||||
() => {
|
||||
fn cnode_as_node(&self) -> &dyn Node {
|
||||
self
|
||||
}
|
||||
|
||||
fn cnode_into_node(self: Rc<Self>) -> Rc<dyn Node> {
|
||||
self
|
||||
}
|
||||
|
||||
fn cnode_into_dyn(self: Rc<Self>) -> Rc<dyn ContainingNode> {
|
||||
self
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue