Fix typo in error message

This commit is contained in:
sneakypete81 2021-01-30 20:04:00 +00:00 committed by GitHub
parent d3de136562
commit 08859c36d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'.",