Skip to content

Commit

Permalink
Fix a typo in Options
Browse files Browse the repository at this point in the history
Fix latter to later in options.go.
  • Loading branch information
dsnet authored Oct 11, 2023
2 parents dc36ffc + 05c289a commit 8aa127f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 8aa127f

Please sign in to comment.