Skip to content

Commit 70491a8

Browse files
seankhliaogopherbot
authored andcommitted
maps: document handling of non-reflexive keys
Fixes #63312 Change-Id: I7861bddcd4c6dc208b4449b923eb2785a122aadf Reviewed-on: https://go-review.googlesource.com/c/go/+/553157 Reviewed-by: Keith Randall <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Keith Randall <[email protected]> Reviewed-by: qiu laidongfeng2 <[email protected]> Auto-Submit: Keith Randall <[email protected]>
1 parent 7321aa9 commit 70491a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/maps/maps.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// license that can be found in the LICENSE file.
44

55
// Package maps defines various functions useful with maps of any type.
6+
//
7+
// This package does not have any special handling for non-reflexive keys
8+
// (keys k where k != k), such as floating-point NaNs.
69
package maps
710

811
import (

0 commit comments

Comments
 (0)