fix: Corrected doctests to pass

This commit is contained in:
Dark-Alex-17 committed 2024-11-14 16:04:39 -07:00
1 parent 3e23a73f6b
commit 37d7b77f90
4 files changed
+10 -9

No files matched your search

+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();
});
});