Skip to content

Commit

Permalink
Fix latter to later.
Browse files Browse the repository at this point in the history
  • Loading branch information
lostluck authored Oct 7, 2023
1 parent dc36ffc commit 05c289a
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 05c289a

Please sign in to comment.