fix: Corrected doctests to pass

This commit is contained in:
2024-11-14 16:04:39 -07:00
parent 3e23a73f6b
commit 37d7b77f90
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ fn init(criterion: &mut Criterion) {
group.bench_function("empty", |bencher| {
bencher.iter(|| {
let items = vec![];
let items = Vec::<TreeItem<String, String>>::new();
let _ = black_box(Tree::new(black_box(&items))).unwrap();
});
});