Skip to content

Commit

Permalink
Fix Marshal documentation on omitempty and IsZero (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
afriza authored Jun 2, 2020
1 parent 0b1645d commit bf81f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func unmarshal(in []byte, out interface{}, strict bool) (err error) {
// Zero valued structs will be omitted if all their public
// fields are zero, unless they implement an IsZero
// method (see the IsZeroer interface type), in which
// case the field will be included if that method returns true.
// case the field will be excluded if IsZero returns true.
//
// flow Marshal using a flow style (useful for structs,
// sequences and maps).
Expand Down

0 comments on commit bf81f7e

Please sign in to comment.