Skip to content

Commit

Permalink
Typo in README.md fix (#770)
Browse files Browse the repository at this point in the history
Change "document was not prevent in the target structure" to "document was not present in the target structure".
  • Loading branch information
fnork committed May 9, 2022
1 parent c5ca2c6 commit db679df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -38,7 +38,7 @@ operations should not be shockingly slow. See [benchmarks](#benchmarks).
### Strict mode

`Decoder` can be set to "strict mode", which makes it error when some parts of
the TOML document was not prevent in the target structure. This is a great way
the TOML document was not present in the target structure. This is a great way
to check for typos. [See example in the documentation][strict].

[strict]: https://pkg.go.dev/github.com/pelletier/go-toml/v2#example-Decoder.DisallowUnknownFields
Expand Down

0 comments on commit db679df

Please sign in to comment.