Skip to content

Commit

Permalink
Fix typo in clippy fix.
Browse files Browse the repository at this point in the history
This was supposed to be a `'('`, not a `')'`.

Fixes #596.
  • Loading branch information
waywardmonkeys authored and sebcrozet committed May 5, 2024
1 parent ea323b3 commit 1b05b2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks2d/all_benchmarks2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1b05b2e

Please sign in to comment.