Make clippy happy
This commit is contained in:
parent
928d2ae816
commit
69be03c583
1 changed files with 1 additions and 1 deletions
|
|
@ -605,7 +605,7 @@ pub fn get_close_matches<'a, T: DiffableStr + ?Sized>(
|
||||||
if ratio >= cutoff {
|
if ratio >= cutoff {
|
||||||
// we're putting the word itself in reverse in so that matches with
|
// we're putting the word itself in reverse in so that matches with
|
||||||
// the same ratio are ordered lexicographically.
|
// the same ratio are ordered lexicographically.
|
||||||
matches.push(((ratio * std::u32::MAX as f32) as u32, Reverse(possibility)));
|
matches.push(((ratio * u32::MAX as f32) as u32, Reverse(possibility)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue