mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-01-19 18:13:00 +08:00
Allow unused fns in ConcreteNodeMut
This commit is contained in:
parent
50ff6b8a34
commit
5eb6b22fa4
|
@ -269,6 +269,7 @@ pub trait ConcreteNode {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
trait ConcreteNodeMut {
|
||||
// Cast to any sub-trait.
|
||||
fn as_mut_leaf(&mut self) -> Option<&mut dyn Leaf> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user