mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-09 22:30:07 +00:00
Fix typo in error message
This commit is contained in:
parent
d3de136562
commit
08859c36d0
@ -930,7 +930,7 @@ parse_key(location& loc)
|
||||
return ok(std::make_pair(std::vector<key>(1, smpl.unwrap().first),
|
||||
smpl.unwrap().second));
|
||||
}
|
||||
return err(format_underline("toml::parse_key: an invalid key appeaed.",
|
||||
return err(format_underline("toml::parse_key: an invalid key appeared.",
|
||||
{{source_location(loc), "is not a valid key"}}, {
|
||||
"bare keys : non-empty strings composed only of [A-Za-z0-9_-].",
|
||||
"quoted keys: same as \"basic strings\" or 'literal strings'.",
|
||||
|
Loading…
Reference in New Issue
Block a user