Fix typo in clippy fix.

This was supposed to be a `'('`, not a `')'`.

Fixes #596.
This commit is contained in:
Bruce Mitchener
2024-04-19 12:42:16 +07:00
committed by Sébastien Crozet
parent ea323b3fc3
commit 1b05b2ebfa

View File

@@ -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,