From b2faff18ce28edad98303d2c3134dec1331fd7b5 Mon Sep 17 00:00:00 2001 From: cui fliter Date: Fri, 11 Nov 2022 19:22:35 +0800 Subject: all: add missing periods in comments Change-Id: I69065f8adf101fdb28682c55997f503013a50e29 Reviewed-on: https://go-review.googlesource.com/c/go/+/449757 Auto-Submit: Ian Lance Taylor Reviewed-by: Joedian Reid Reviewed-by: Keith Randall Reviewed-by: Keith Randall TryBot-Result: Gopher Robot Run-TryBot: Joedian Reid Run-TryBot: Ian Lance Taylor Reviewed-by: Ian Lance Taylor --- src/runtime/map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/map.go') diff --git a/src/runtime/map.go b/src/runtime/map.go index 65be4727fd..f546ce8609 100644 --- a/src/runtime/map.go +++ b/src/runtime/map.go @@ -514,7 +514,7 @@ bucketloop: return unsafe.Pointer(&zeroVal[0]), false } -// returns both key and elem. Used by map iterator +// returns both key and elem. Used by map iterator. func mapaccessK(t *maptype, h *hmap, key unsafe.Pointer) (unsafe.Pointer, unsafe.Pointer) { if h == nil || h.count == 0 { return nil, nil -- cgit v1.3-5-g9baa