From c3cb22a7897b783b63048d6b157b3d2308ed091d Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 21 Mar 2019 18:12:35 +0900 Subject: [PATCH] chore: fix example of err msg by re-running sample --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 55bebb4..28d8441 100644 --- a/README.md +++ b/README.md @@ -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. ```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. - --> example.toml - 3 | exceeds_unicode = "\U0011FFFF example" - | ~~~~~~~~~ should be in [0x00..0x10FFFF] + what(): [error] toml::read_utf8_codepoint: input codepoint is too large. + --> utf8.toml + 1 | exceeds_unicode = "\U0011FFFF example" + | ^--------- should be in [0x00..0x10FFFF] ``` ## Formatting user-defined error messages