From 1b05b2ebfac63034d3dd14a7a5b9b87c59377529 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Fri, 19 Apr 2024 12:42:16 +0700 Subject: Fix typo in clippy fix. This was supposed to be a `'('`, not a `')'`. Fixes #596. --- benchmarks2d/all_benchmarks2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmarks2d') diff --git a/benchmarks2d/all_benchmarks2.rs b/benchmarks2d/all_benchmarks2.rs index 64ec802..3f98fb4 100644 --- a/benchmarks2d/all_benchmarks2.rs +++ b/benchmarks2d/all_benchmarks2.rs @@ -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, -- cgit