Skip to content

Commit 4ef3a87

Browse files
committed
Remove noop byte cast
1 parent 9d3a088 commit 4ef3a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog/Parsing/MessageTemplateParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static bool TryGetDestructuringHint(char c, out Destructuring destructuring)
228228
}
229229
}
230230

231-
static bool IsValidInFormat(char c) => c != (byte)'}';
231+
static bool IsValidInFormat(char c) => c != '}';
232232

233233
static TextToken ParseTextToken(int startAt, string messageTemplate, out int next)
234234
{

0 commit comments

Comments
 (0)