fix: must_use the structs

This commit is contained in:
EdJoPaTo
2024-05-23 12:03:02 +02:00
parent 136599257a
commit d676f66504
6 changed files with 11 additions and 12 deletions
+1
View File
@@ -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"),