Fix example for user-defined types in documentation for 10.0.0
This commit is contained in:
parent
adad18a74d
commit
33971cce60
@ -155,7 +155,7 @@ For example::
|
||||
if (it != end && (*it == 'f' || *it == 'e')) presentation = *it++;
|
||||
|
||||
// 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");
|
||||
|
||||
// Return an iterator past the end of the parsed range:
|
||||
return it;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user