Skip to content

Commit c666654

Browse files
VPanteleev-S7Geod24
authored andcommitted
doc/FAQ: Fix typos
1 parent 0c7a2d7 commit c666654

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/FAQ.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This is the default as it prevent any unnoticed misconfiguration that would resu
2222
a typo to an optional field name.
2323
To disable `strict` parsing, simply pass `StrictMode.Ignore` as the optional parameter
2424
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.
2626

2727
### Make a field required
2828

@@ -51,7 +51,7 @@ struct Config
5151
}
5252
```
5353

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.
5555

5656
### Known when a field is set
5757

@@ -194,7 +194,7 @@ or 87030 seconds.
194194

195195
### Implement complex types that are not composite types of simple types
196196

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`,
198198
where `T` is a `struct`, can be constructed:
199199
- The `T` has a `static` `fromString` method which accepts a single argument
200200
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.
279279

280280
If validation of individual fields is not enough and the section as a whole needs
281281
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.
283283
The library will rethrow this `Exception` with the file/line information pointing
284284
to the section itself, and not any individual field.

0 commit comments

Comments
 (0)