Skip to content

Commit

Permalink
Remove unnecessary tok!"comment" filter
Browse files Browse the repository at this point in the history
  • Loading branch information
danielzuncke authored and WebFreak001 committed Oct 26, 2023
1 parent 20b8bad commit 9f37710
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/dfmt/ast_info.d
Original file line number Diff line number Diff line change
Expand Up @@ -474,11 +474,6 @@ final class FormatVisitor : ASTVisitor

foreach (t; item.tokens)
{
if (t.type == tok!"comment")
{
continue;
}

if (t.type == tok!"identifier" && !foundIdentifier)
{
foundIdentifier = true;
Expand Down

0 comments on commit 9f37710

Please sign in to comment.