mirror of
https://github.com/ToruNiina/toml11.git
synced 2024-11-25 05:40:05 +00:00
fixed a typo ('optinoal' to 'optional')
This commit is contained in:
parent
1400dd223f
commit
1c3c84e90a
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user