Skip to content

Commit

Permalink
Merge pull request #2 from AbiosGaming/f/serialization
Browse files Browse the repository at this point in the history
refactor: remove pointer receiver from Bytes()
  • Loading branch information
patstrom authored Oct 8, 2020
2 parents 5100fae + 2c4bb6b commit feaca83
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 feaca83

Please sign in to comment.