summaryrefslogtreecommitdiff
path: root/grammar/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'grammar/src/lib.rs')
-rw-r--r--grammar/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/grammar/src/lib.rs b/grammar/src/lib.rs
index 21ce2b4..54d9ebc 100644
--- a/grammar/src/lib.rs
+++ b/grammar/src/lib.rs
@@ -374,9 +374,9 @@ impl Grammar {
for (index, accumulator) in self.accumulators.iter().copied().enumerate() {
let shifted_accumulator = accumulator << 1;
- // NOTE: Clippy suggests to call `cmp`, but it seems
- // compiler might not yet be smart enough to inline that
- // call, so I just silence clippy here.
+ // NOTE: Clippy suggests to call `cmp`, but it seems that
+ // the compiler might not yet be smart enough to inline
+ // that call, so I just silence clippy here.
#[allow(clippy::comparison_chain)]
if pos == shifted_accumulator {
return Some(index);