aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/map.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/map.go')
-rw-r--r--src/runtime/map.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/map.go b/src/runtime/map.go
index bb3ac39e94..6a9345e0b4 100644
--- a/src/runtime/map.go
+++ b/src/runtime/map.go
@@ -56,7 +56,7 @@ package runtime
import (
"internal/abi"
"internal/goarch"
- "runtime/internal/atomic"
+ "internal/runtime/atomic"
"runtime/internal/math"
"unsafe"
)
@@ -1498,7 +1498,7 @@ func mapclone2(t *maptype, src *hmap) *hmap {
dst := makemap(t, src.count, nil)
dst.hash0 = src.hash0
dst.nevacuate = 0
- //flags do not need to be copied here, just like a new map has no flags.
+ // flags do not need to be copied here, just like a new map has no flags.
if src.count == 0 {
return dst