Skip to content

Commit

Permalink
Remove noop byte cast
Browse files Browse the repository at this point in the history
  • Loading branch information
nblumhardt committed May 27, 2024
1 parent 9d3a088 commit 4ef3a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Serilog/Parsing/MessageTemplateParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ static bool TryGetDestructuringHint(char c, out Destructuring destructuring)
}
}

static bool IsValidInFormat(char c) => c != (byte)'}';
static bool IsValidInFormat(char c) => c != '}';

static TextToken ParseTextToken(int startAt, string messageTemplate, out int next)
{
Expand Down

0 comments on commit 4ef3a87

Please sign in to comment.