mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-09-17 17:58:09 +08:00
chore: fix example of err msg by re-running sample
This commit is contained in:
@@ -727,10 +727,10 @@ toml11 throws `syntax_error` if a value of an escape sequence
|
|||||||
representing unicode character is not a valid UTF-8 codepoint.
|
representing unicode character is not a valid UTF-8 codepoint.
|
||||||
|
|
||||||
```console
|
```console
|
||||||
[error] input codepoint (0011FFFF) is too large to decode as a unicode character. The result may not be able to render to your screen.
|
what(): [error] toml::read_utf8_codepoint: input codepoint is too large.
|
||||||
--> example.toml
|
--> utf8.toml
|
||||||
3 | exceeds_unicode = "\U0011FFFF example"
|
1 | exceeds_unicode = "\U0011FFFF example"
|
||||||
| ~~~~~~~~~ should be in [0x00..0x10FFFF]
|
| ^--------- should be in [0x00..0x10FFFF]
|
||||||
```
|
```
|
||||||
|
|
||||||
## Formatting user-defined error messages
|
## Formatting user-defined error messages
|
||||||
|
Reference in New Issue
Block a user