From 05c289a8499d2df34d018976c6b7bae1eea2dad1 Mon Sep 17 00:00:00 2001 From: Robert Burke Date: Sat, 7 Oct 2023 16:35:33 -0700 Subject: [PATCH] Fix latter to later. --- options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/options.go b/options.go index 7dd75cf..a43e31e 100644 --- a/options.go +++ b/options.go @@ -15,7 +15,7 @@ import ( // Options configure [Marshal], [MarshalWrite], [MarshalEncode], // [Unmarshal], [UnmarshalRead], and [UnmarshalDecode] with specific features. // Each function takes in a variadic list of options, where properties -// set in latter options override the value of previously set properties. +// set in later options override the value of previously set properties. // // The Options type is identical to [encoding/json.Options] and // [encoding/json/jsontext.Options]. Options from the other packages can @@ -71,7 +71,7 @@ import ( type Options = jsonopts.Options // JoinOptions coalesces the provided list of options into a single Options. -// Properties set in latter options override the value of previously set properties. +// Properties set in later options override the value of previously set properties. func JoinOptions(srcs ...Options) Options { var dst jsonopts.Struct for _, src := range srcs {