Fix typo in clippy fix.
This was supposed to be a `'('`, not a `')'`.
Fixes #596.
This commit is contained in:
committed by
Sébastien Crozet
parent
ea323b3fc3
commit
1b05b2ebfa
@@ -68,7 +68,7 @@ pub fn main() {
|
||||
];
|
||||
|
||||
// Lexicographic sort, with stress tests moved at the end of the list.
|
||||
builders.sort_by(|a, b| match (a.0.starts_with('('), b.0.starts_with(')')) {
|
||||
builders.sort_by(|a, b| match (a.0.starts_with('('), b.0.starts_with('(')) {
|
||||
(true, true) | (false, false) => a.0.cmp(b.0),
|
||||
(true, false) => Ordering::Greater,
|
||||
(false, true) => Ordering::Less,
|
||||
|
||||
Reference in New Issue
Block a user