Browse Source

types/bools: fix doc typo (#15021)

The Select function was renamed as IfElse.

Updates #cleanup

Signed-off-by: Joe Tsai <[email protected]>
Joe Tsai 1 year ago
parent
commit
1d035db4df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      types/bools/bools.go

+ 1 - 1
types/bools/bools.go

@@ -1,7 +1,7 @@
 // Copyright (c) Tailscale Inc & AUTHORS
 // SPDX-License-Identifier: BSD-3-Clause
 
-// Package bools contains the [Int], [Compare], and [Select] functions.
+// Package bools contains the [Int], [Compare], and [IfElse] functions.
 package bools
 
 // Int returns 1 for true and 0 for false.