From: Sean Liao Date: Fri, 29 Dec 2023 20:20:03 +0000 (+0000) Subject: maps: document handling of non-reflexive keys X-Git-Tag: go1.23.0~7^2~4 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=70491a81113e7003e314451f3e3cf134c4d41dd7;p=gostls13.git 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 LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor Reviewed-by: Keith Randall Reviewed-by: qiu laidongfeng2 <2645477756@qq.com> Auto-Submit: Keith Randall --- diff --git a/src/maps/maps.go b/src/maps/maps.go index c92106710d..b712dd3fe8 100644 --- a/src/maps/maps.go +++ b/src/maps/maps.go @@ -3,6 +3,9 @@ // license that can be found in the LICENSE file. // Package maps defines various functions useful with maps of any type. +// +// This package does not have any special handling for non-reflexive keys +// (keys k where k != k), such as floating-point NaNs. package maps import (