Remove unnecessary tok!"comment" filter

This commit is contained in:
Daniel Zuncke 2023-10-26 13:21:58 +02:00 committed by Jan Jurzitza
parent 20b8badf8c
commit 9f377100f0
1 changed files with 0 additions and 5 deletions

View File

@ -474,11 +474,6 @@ final class FormatVisitor : ASTVisitor
foreach (t; item.tokens) foreach (t; item.tokens)
{ {
if (t.type == tok!"comment")
{
continue;
}
if (t.type == tok!"identifier" && !foundIdentifier) if (t.type == tok!"identifier" && !foundIdentifier)
{ {
foundIdentifier = true; foundIdentifier = true;