Function human_sort::compare_chars_iters [−][src]
pub fn compare_chars_iters<'a>(
c1: Chars<'a>,
c2: Chars<'a>
) -> Result<Ordering, ()>
use std::cmp::Ordering; use human_sort::compare_chars_iters; assert_eq!(compare_chars_iters("aaa".chars(), "bbb".chars()), Ok(Ordering::Less));