Skip to content

Commit 555e2ed

Browse files
committed
Adapt to new jbk array cmp
1 parent 21ae761 commit 555e2ed

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libarx/src/common/mod.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ impl jbk::reader::CompareTrait for EntryCompare<'_> {
5252
.get_entry_reader(idx)
5353
.expect("idx should be valid");
5454
let entry_path = self.comparator.path_property.create(&reader)?;
55-
Ok(entry_path
56-
.partial_cmp(self.path_value)?
57-
.expect("Value in the entry should be comparable to [u8]"))
55+
Ok(entry_path.cmp(self.path_value)?)
5856
}
5957
fn ordered(&self) -> bool {
6058
true

0 commit comments

Comments
 (0)