Skip to content

Commit

Permalink
Merge pull request #351 from josegonzalez/patch-1
Browse files Browse the repository at this point in the history
Fix docblock for Unmarshal
  • Loading branch information
arp242 authored May 27, 2022
2 parents e666d08 + c314639 commit 201477d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ type Unmarshaler interface {
UnmarshalTOML(interface{}) error
}

// Unmarshal decodes the contents of `p` in TOML format into a pointer `v`.
// Unmarshal decodes the contents of `data` in TOML format into a pointer `v`.
func Unmarshal(data []byte, v interface{}) error {
_, err := NewDecoder(bytes.NewReader(data)).Decode(v)
return err
Expand Down

0 comments on commit 201477d

Please sign in to comment.