summaryrefslogtreecommitdiff
path: root/lib/containers/rbtree.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-02-12 16:17:34 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-02-12 16:17:34 -0700
commitc55326b0cb6994bb802cf6aac4a296acfb0e41ff (patch)
tree020cb033adb3809bcc8ffed5f56ba8d167b32dd1 /lib/containers/rbtree.go
parentcfcc753dc8906817e15b1b7c36b4dc12462d12e4 (diff)
parentacbbfafa07922b458506b91a58f3a082da453fd1 (diff)
Merge branch 'lukeshu/enums'
Diffstat (limited to 'lib/containers/rbtree.go')
-rw-r--r--lib/containers/rbtree.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/containers/rbtree.go b/lib/containers/rbtree.go
index 4125847..6182150 100644
--- a/lib/containers/rbtree.go
+++ b/lib/containers/rbtree.go
@@ -12,8 +12,8 @@ import (
type Color bool
const (
- Black = Color(false)
- Red = Color(true)
+ Black Color = false
+ Red Color = true
)
type RBNode[T Ordered[T]] struct {