From 373bc570a56660b49dc4524943b861e31ba80899 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Sat, 26 Sep 2026 01:07:59 +0300 Subject: [PATCH] chore: Satiate clippy lints --- fluent-syntax/src/parser/helper.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluent-syntax/src/parser/helper.rs b/fluent-syntax/src/parser/helper.rs index 11544d68..e7f6b3a4 100644 --- a/fluent-syntax/src/parser/helper.rs +++ b/fluent-syntax/src/parser/helper.rs @@ -17,7 +17,7 @@ where while let Some(b) = get_current_byte!(self) { let new_line = self.ptr == 0 || get_byte!(self, self.ptr - 1) == Some(&b'\n'); - if new_line && (b.is_ascii_alphabetic() || [b'-', b'#'].contains(b)) { + if new_line && (b.is_ascii_alphabetic() || b"-#".contains(b)) { break; }