diff --git a/crates/vfs/src/tree.rs b/crates/vfs/src/tree.rs index 305c1160c..9ed1df2df 100644 --- a/crates/vfs/src/tree.rs +++ b/crates/vfs/src/tree.rs @@ -81,7 +81,6 @@ pub enum Node { } impl Node { - #[must_use] pub fn try_as_file(&self) -> IoResult> { match self { Node::File(f) => Ok(f.clone()), @@ -89,7 +88,6 @@ impl Node { } } - #[must_use] pub fn try_as_dir(&self) -> IoResult> { match self { Node::File(_) => Err(IoError::NotADirectory),