@@ -22,7 +22,7 @@ This is the default as it prevent any unnoticed misconfiguration that would resu
22
22
a typo to an optional field name.
23
23
To disable ` strict ` parsing, simply pass ` StrictMode.Ignore ` as the optional parameter
24
24
to either ` parseConfigFile ` , ` parseConfigString ` , or ` parseConfigFileSimple ` method.
25
- To notify the user whithout triggering an error, use ` StrictMode.Warn ` instead.
25
+ To notify the user without triggering an error, use ` StrictMode.Warn ` instead.
26
26
27
27
### Make a field required
28
28
@@ -51,7 +51,7 @@ struct Config
51
51
}
52
52
```
53
53
54
- Finally, as a byproduct of its functionality, using ` SetInfo ` implicitly make a field optional.
54
+ Finally, as a byproduct of its functionality, using ` SetInfo ` implicitly makes a field optional.
55
55
56
56
### Known when a field is set
57
57
@@ -194,7 +194,7 @@ or 87030 seconds.
194
194
195
195
# ## Implement complex types that are not composite types of simple types
196
196
197
- The library recognizes three possible ways were a field of type `T`,
197
+ The library recognizes three possible ways where a field of type `T`,
198
198
where `T` is a `struct`, can be constructed :
199
199
- The `T` has a `static` `fromString` method which accepts a single argument
200
200
that is a string-like type (e.g. `scope const char[]` or just `string`),
@@ -279,6 +279,6 @@ this bug will need to be fixed in D-YAML.
279
279
280
280
If validation of individual fields is not enough and the section as a whole needs
281
281
to be validated, one can implement a `void validate() const` method which throws
282
- an exception in the even of a validation failure.
282
+ an exception in the event of a validation failure.
283
283
The library will rethrow this `Exception` with the file/line information pointing
284
284
to the section itself, and not any individual field.
0 commit comments