Skip to content

Fix example for user-defined types in documentation for 10.0.0 - #3461

Merged
vitaut merged 2 commits into
fmtlib:masterfrom
rlalik:doc_fix
May 24, 2023
Merged

vitaut merged 2 commits into
fmtlib:masterfrom
rlalik:doc_fix

Conversation

@rlalik

@rlalik rlalik commented May 24, 2023

Copy link
Copy Markdown
Contributor

Fix to issue #3458

Comment thread doc/api.rst Outdated

// Check if reached the end of the range:
if (it != end && *it != '}') ctx.on_error("invalid format");
if (it != end && *it != '}') format_error("invalid format");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (it != end && *it != '}') FMT_THROW(format_error("invalid format"));

@vitaut
vitaut merged commit 8b09fe2 into fmtlib:master May 24, 2023
@vitaut

vitaut commented May 24, 2023

Copy link
Copy Markdown
Contributor

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants