From db679df7651a298595344a435a8edffdf7f4bbd9 Mon Sep 17 00:00:00 2001 From: Erik Hartwig Date: Mon, 9 May 2022 09:46:46 -0700 Subject: [PATCH] Typo in README.md fix (#770) Change "document was not prevent in the target structure" to "document was not present in the target structure". --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4dc60634..a63c3a79 100644 --- a/README.md +++ b/README.md @@ -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