chore: clippy lints

This commit is contained in:
Amaan Qureshi 2024-09-07 20:13:58 -04:00
parent 9301d38b77
commit 5e46fef0d7
17 changed files with 72 additions and 64 deletions

View file

@ -6,6 +6,7 @@ pub struct ScopeSequence(Vec<ScopeStack>);
type ScopeStack = Vec<&'static str>;
impl ScopeSequence {
#[must_use]
pub fn new(tree: &Tree) -> Self {
let mut result = Self(Vec::new());
let mut scope_stack = Vec::new();