Skip to content

Commit 182a6d7

Browse files
committed
fix: type error
1 parent d809e69 commit 182a6d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tree_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl SampleTree {
6060
join_path: |prefix, name| format!("{prefix}{SAMPLE_SEPARATOR}{name}"),
6161
}
6262
.pipe(DataTree::from)
63-
.into_par_sorted(|left, right| left.name().cmp(right.name()))
63+
.into_par_sorted(|left, right| left.name().as_str().cmp(right.name().as_str()))
6464
}
6565
}
6666

0 commit comments

Comments
 (0)