1
Fork 0

Parse also errors when TOML parsing fails.

This commit is contained in:
Bauke 2023-01-07 13:08:33 +01:00
parent cc51e71b06
commit 6ec6e77b92
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@ return the remaining contents of the string.
This function will return an [`Err`] when:
- the data doesn't have a frontmatter section,
- the frontmatter isn't at the beginning of the data.
- the frontmatter isn't at the beginning of the data,
- the TOML fails to parse.
## Example