diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-13 20:41:10 -0600 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2022-07-13 21:39:09 -0600 |
commit | 952b677bf7f10da93673e3671f764c54c454bbfe (patch) | |
tree | 57b31c8f72f76d60b89e0307069c9d15c6794326 /lib/containers/rbtree.go | |
parent | 4e29bb393ec774f0a79c70d9d69c54fe4e8ecb72 (diff) |
Move ordered.go to lib/containers
Something about this trips a stack overflow in golangci-lint, so upgrade
golangci-lint to a commit that fixes this.
Diffstat (limited to 'lib/containers/rbtree.go')
-rw-r--r-- | lib/containers/rbtree.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/containers/rbtree.go b/lib/containers/rbtree.go index 6bffc02..64a679e 100644 --- a/lib/containers/rbtree.go +++ b/lib/containers/rbtree.go @@ -33,7 +33,7 @@ func (node *RBNode[V]) getColor() Color { return node.Color } -type RBTree[K util.Ordered[K], V any] struct { +type RBTree[K Ordered[K], V any] struct { KeyFn func(V) K root *RBNode[V] } |