Skip to content

Commit 33a6278

Browse files
committed
Address comment
1 parent 300710f commit 33a6278

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎parser/src/lexer.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,7 @@ where
10911091
} else {
10921092
let tok_start = self.get_pos();
10931093
self.next_char();
1094-
if let [Some('.'), Some('.')] = self.window[..2] {
1094+
if self.window[..2] == [Some('.'); 2] {
10951095
self.next_char();
10961096
self.next_char();
10971097
let tok_end = self.get_pos();

0 commit comments

Comments
 (0)