about summary refs log tree commit diff
path: root/src/tools
diff options
context:
space:
mode:
authorrandomicon00 <20146907+randomicon00@users.noreply.github.com>2024-06-11 09:09:10 -0400
committerrandomicon00 <20146907+randomicon00@users.noreply.github.com>2024-06-11 09:09:56 -0400
commitca7e04ffe14e4d21bb76d249932d0b8c04f6f0fb (patch)
treed930b6264aa341d730713d6d1f2963bfa34c7662 /src/tools
parent25004a1018b4a511fde64430a5feeb4eafabd437 (diff)
downloadrust-ca7e04ffe14e4d21bb76d249932d0b8c04f6f0fb.tar.gz
rust-ca7e04ffe14e4d21bb76d249932d0b8c04f6f0fb.zip
edit: Length to Len in benchmark
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/rust-analyzer/crates/mbe/src/benchmark.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/mbe/src/benchmark.rs b/src/tools/rust-analyzer/crates/mbe/src/benchmark.rs
index f73e188c797..19ba5c7a156 100644
--- a/src/tools/rust-analyzer/crates/mbe/src/benchmark.rs
+++ b/src/tools/rust-analyzer/crates/mbe/src/benchmark.rs
@@ -215,7 +215,7 @@ fn invocation_fixtures(
 
                 token_trees.push(subtree.into());
             }
-            Op::Ignore { .. } | Op::Index { .. } | Op::Count { .. } | Op::Length { .. } => {}
+            Op::Ignore { .. } | Op::Index { .. } | Op::Count { .. } | Op::Len { .. } => {}
         };
 
         // Simple linear congruential generator for deterministic result