fix: must_use the structs
This commit is contained in:
@@ -139,6 +139,7 @@ where
|
||||
|
||||
impl TreeItem<'static, &'static str> {
|
||||
#[cfg(test)]
|
||||
#[must_use]
|
||||
pub(crate) fn example() -> Vec<Self> {
|
||||
vec![
|
||||
Self::new_leaf("a", "Alfa"),
|
||||
|
||||
Reference in New Issue
Block a user