Merge pull request #194 from Helaxious/patch-1

Fix a typo ('optinoal' to 'optional')
This commit is contained in:
Toru Niina
2022-07-28 21:02:21 +09:00
committed by GitHub

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]