Skip to content

Commit 183693a

Browse files
committed
use min for slice indexing
1 parent 02e4d05 commit 183693a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/closestmatch_empty.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
func main() {
10-
issues := map[string]string{}
10+
issues := map[string]string{"what": ""}
1111
var selected string
1212
cb := rtprompt.ClosestMatch{
1313
Data: issues,

0 commit comments

Comments
 (0)