Skip to content

Commit a70e0fe

Browse files
committed
1.5.1
1 parent d60747c commit a70e0fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ pub fn cure<S: AsRef<str> + ?Sized>(input: &S) -> CuredString {
8686
return;
8787
}
8888
Ordering::Greater => start = mid + 1,
89-
_ => end = mid, // Ordering::Less
89+
_ => end = mid,
9090
}
9191

9292
if start == end {
93-
let confusable2 = matcher::Confusable::at(start); // end works too
93+
let confusable2 = matcher::Confusable::at(start);
9494

9595
if confusable2.matches(code as _, code_lowercased) == Ordering::Equal {
9696
output.push_translation(confusable2.translation(code as _, code_lowercased));

0 commit comments

Comments
 (0)