summaryrefslogtreecommitdiff
path: root/lib/containers
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-08-17 20:26:52 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-08-17 22:41:05 -0600
commit273890421b31aa7b43d778e4da3de16659e77d73 (patch)
treea46cd884fe2132a6c69d7d1f9c8ddc84509b4afa /lib/containers
parent6fc662d5faa238cc71d06c2c888858747c55c55a (diff)
tools: Upgrade to Go 1.19
1. Edit Makefile:goversion 2. Run `make go-mod-tidy` 3. Run `gofmt -s -w .` 4. Look at the ignore-whitespace-change diff and fixup band gofmt changes
Diffstat (limited to 'lib/containers')
-rw-r--r--lib/containers/rbtree.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/containers/rbtree.go b/lib/containers/rbtree.go
index 0eef553..36da29d 100644
--- a/lib/containers/rbtree.go
+++ b/lib/containers/rbtree.go
@@ -63,16 +63,16 @@ func (node *RBNode[V]) walk(fn func(*RBNode[V]) error) error {
// means to go left on the tree (the value is too high), >0 means to
// go right on th etree (the value is too low).
//
-// +-----+
-// | v=8 | == 0 : this is it
-// +-----+
-// / \
-// / \
-// <0 : go left >0 : go right
-// / \
-// +---+ +---+
-// | 7 | | 9 |
-// +---+ +---+
+// +-----+
+// | v=8 | == 0 : this is it
+// +-----+
+// / \
+// / \
+// <0 : go left >0 : go right
+// / \
+// +---+ +---+
+// | 7 | | 9 |
+// +---+ +---+
//
// Returns nil if no such value is found.
//