Skip to content

Commit

Permalink
Correct formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dinomight committed Feb 25, 2025
1 parent 53c8830 commit 0e497be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1707,9 +1707,9 @@ class format_string_checker {
context_.advance_to(begin);
if (id >= 0 && id < NUM_ARGS) return parse_funcs_[id](context_);

// If id is out of range, it means we do not know the type and cannot parse the format at
// compile time. Instead, skip over content until we finish the format spec, accounting
// for any nested replacements.
// If id is out of range, it means we do not know the type and cannot parse
// the format at compile time. Instead, skip over content until we finish
// the format spec, accounting for any nested replacements.
auto bracket_count = 0;
while (begin != end && (bracket_count > 0 || *begin != '}')) {
if (*begin == '{')
Expand Down

0 comments on commit 0e497be

Please sign in to comment.