Skip to content

Commit d9fff7d

Browse files
authored
fix(cbor): update fields in structs for better alignment (#1208)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent a7b56b9 commit d9fff7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbor/tags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ type Map map[any]any
181181

182182
// SetType is a generic type for wrapping other types in an optional CBOR set tag
183183
type SetType[T any] struct {
184-
useTag bool
185184
items []T
185+
useTag bool
186186
}
187187

188188
func NewSetType[T any](items []T, useTag bool) SetType[T] {

0 commit comments

Comments
 (0)