fixed a typo ('optinoal' to 'optional')

This commit is contained in:
helaxious 2022-07-27 17:58:47 -03:00 committed by GitHub
parent 1400dd223f
commit 1c3c84e90a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -837,7 +837,7 @@ const auto num = toml::find_or(data, "num", 42);
It works recursively if you pass several keys for subtables. It works recursively if you pass several keys for subtables.
In that case, the last argument is considered to be the optional value. In that case, the last argument is considered to be the optional value.
All other arguments between `toml::value` and the optinoal value are considered as keys. All other arguments between `toml::value` and the optional value are considered as keys.
```cpp ```cpp
// [fruit.physical] // [fruit.physical]