We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21ae761 commit 555e2edCopy full SHA for 555e2ed
libarx/src/common/mod.rs
@@ -52,9 +52,7 @@ impl jbk::reader::CompareTrait for EntryCompare<'_> {
52
.get_entry_reader(idx)
53
.expect("idx should be valid");
54
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]"))
+ Ok(entry_path.cmp(self.path_value)?)
58
}
59
fn ordered(&self) -> bool {
60
true
0 commit comments