From ba39ca60b457c8de95339e19559294f5324b4c13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20K=C3=BCber?= Date: Sat, 30 Mar 2024 18:58:20 +0000 Subject: [PATCH] review comment --- compiler/rustc_parse/src/lexer/mod.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/rustc_parse/src/lexer/mod.rs b/compiler/rustc_parse/src/lexer/mod.rs index 2bcf8fd99ee4..59ed52a04ea1 100644 --- a/compiler/rustc_parse/src/lexer/mod.rs +++ b/compiler/rustc_parse/src/lexer/mod.rs @@ -138,9 +138,6 @@ impl<'psess, 'src> StringReader<'psess, 'src> { if let rustc_lexer::TokenKind::Semi | rustc_lexer::TokenKind::LineComment { .. } | rustc_lexer::TokenKind::BlockComment { .. } - | rustc_lexer::TokenKind::OpenParen - | rustc_lexer::TokenKind::OpenBrace - | rustc_lexer::TokenKind::OpenBracket | rustc_lexer::TokenKind::CloseParen | rustc_lexer::TokenKind::CloseBrace | rustc_lexer::TokenKind::CloseBracket = token.kind