Skip to content

Commit

Permalink
A couple of comments
Browse files Browse the repository at this point in the history
Signed-off-by: Kimmo Lehto <[email protected]>
  • Loading branch information
kke committed Jan 12, 2024
1 parent 37d31a3 commit 77051cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const (
maxSegments = 3
)

// this contains the fields that can be compared using go's equality operator
type comparableFields struct {
// arrays (not slices) of basic types are comparable in go
segments [maxSegments]int
numSegments int

Expand Down

0 comments on commit 77051cc

Please sign in to comment.