Skip to content

Commit 9d02178

Browse files
committed
Fix logic error
1 parent 9c2974e commit 9d02178

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/vm/src/stdlib/builtins.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ mod builtins {
181181
.find(|&&b| !matches!(b, b' ' | b'\t' | b'\x0c' | b'\r'))
182182
.copied();
183183

184-
if trimmed == Some(b'#') {
184+
if trimmed.is_some_and(|b| b != b'#') {
185185
return None;
186186
}
187187
}

0 commit comments

Comments
 (0)