Skip to main content

cmp_seq

Function cmp_seq 

Source
pub fn cmp_seq(a: &str, b: &str) -> Ordering
Expand description

Compare two _seq values numerically. _seq format is “{slot}:{offset}” where slot is not zero-padded. This handles digit-count boundaries correctly (e.g., 99999999 < 100000000).