Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Commit 68515f1

Browse files
committed
Removed redundant semicolons.
1 parent 4049d14 commit 68515f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dang-utils/tests/parsing/test-lexer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ TEST_CASE("The UTF-8 lexer uses UTF-8 code points as tokens.", "[lexer]")
154154
}
155155
}
156156

157-
constexpr bool isWhitespace(char c) { return c == ' '; };
158-
constexpr bool isAlpha(char c) { return c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z'; };
157+
constexpr bool isWhitespace(char c) { return c == ' '; }
158+
constexpr bool isAlpha(char c) { return c >= 'A' && c <= 'Z' || c >= 'a' && c <= 'z'; }
159159

160160
using WhitespaceToken = TakeWhile<isWhitespace>;
161161
using CommaToken = Char<','>;

0 commit comments

Comments
 (0)