Home
last modified time | relevance | path

Searched refs:UnderscoreOrder (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/remain/src/
Dcompare.rs7 pub enum UnderscoreOrder { enum
16 pub fn cmp(lhs: &Path, rhs: &Path, mode: UnderscoreOrder) -> Ordering { in cmp()
28 fn cmp_segment(lhs: &str, rhs: &str, mode: UnderscoreOrder) -> Ordering { in cmp_segment()
44 if mode == UnderscoreOrder::Last { in cmp_segment()
Dcheck.rs6 use crate::compare::{cmp, Path, UnderscoreOrder};
17 let mode = UnderscoreOrder::First; in sorted()
22 let mode = UnderscoreOrder::Last; in sorted()
37 fn find_misordered(paths: &[Path], mode: UnderscoreOrder) -> Option<usize> { in find_misordered()