aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2024-04-19 12:42:16 +0700
committerSébastien Crozet <sebastien@crozet.re>2024-05-05 10:38:24 +0200
commit1b05b2ebfac63034d3dd14a7a5b9b87c59377529 (patch)
tree250453fb6983a143003536b511a7800b48316856
parentea323b3fc3f29cb9cb0f115a2eb7eb4cb8ff8bc1 (diff)
downloadrapier-1b05b2ebfac63034d3dd14a7a5b9b87c59377529.tar.gz
rapier-1b05b2ebfac63034d3dd14a7a5b9b87c59377529.tar.bz2
rapier-1b05b2ebfac63034d3dd14a7a5b9b87c59377529.zip
Fix typo in clippy fix.
This was supposed to be a `'('`, not a `')'`. Fixes #596.
-rw-r--r--benchmarks2d/all_benchmarks2.rs2
1 files changed, 1 insertions, 1 deletions
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,