diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-08 18:42:28 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-08 18:42:28 -0600 |
commit | 5e367588152facd31ddd6b841a42bf05adb57315 (patch) | |
tree | 01b1c3308b2449a2ff045731e823404037d61102 /pkg/rbtree | |
parent | 8e27c43c1b882c8f2f759eec556f90229c067cc9 (diff) |
Add a Makefile that runs lint and stuff
Diffstat (limited to 'pkg/rbtree')
-rw-r--r-- | pkg/rbtree/rbtree_util.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/rbtree/rbtree_util.go b/pkg/rbtree/rbtree_util.go index db7fd32..2e7a48d 100644 --- a/pkg/rbtree/rbtree_util.go +++ b/pkg/rbtree/rbtree_util.go @@ -33,13 +33,13 @@ func (t *Tree[K, V]) Equal(u *Tree[K, V]) bool { } var tSlice []V - t.Walk(func(node *Node[V]) error { + _ = t.Walk(func(node *Node[V]) error { tSlice = append(tSlice, node.Value) return nil }) var uSlice []V - u.Walk(func(node *Node[V]) error { + _ = u.Walk(func(node *Node[V]) error { uSlice = append(uSlice, node.Value) return nil }) |