Skip to content

Commit

Permalink
refactor: remove pointer receiver from Bytes()
Browse files Browse the repository at this point in the history
  • Loading branch information
remnestal committed Oct 8, 2020
1 parent 23918b5 commit 2c4bb6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set_1_10.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func Parse(b []byte) *Set {
}

// Bytes returns a byte array representation of the set.
func (s *Set) Bytes() []byte {
func (s Set) Bytes() []byte {
if len(s.data) == 0 {
return nil
}
Expand Down

0 comments on commit 2c4bb6b

Please sign in to comment.