aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/slice.go
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2024-07-23 11:43:23 -0400
committerDavid Chase <drchase@google.com>2024-07-23 19:05:35 +0000
commitfc5073bc155545dde4856cccdfcbb31880d1eb66 (patch)
tree90aba60eda016a9392cd8ee0d55a154d0aa570e3 /src/runtime/slice.go
parentf9eb3e3cd59c1cf38a98f2367c6c8dc180db9a95 (diff)
downloadgo-fc5073bc155545dde4856cccdfcbb31880d1eb66.tar.xz
runtime,internal: move runtime/internal/sys to internal/runtime/sys
Cleanup and friction reduction For #65355. Change-Id: Ia14c9dc584a529a35b97801dd3e95b9acc99a511 Reviewed-on: https://go-review.googlesource.com/c/go/+/600436 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/slice.go')
-rw-r--r--src/runtime/slice.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/slice.go b/src/runtime/slice.go
index 65883ea2f3..ecc2e2921b 100644
--- a/src/runtime/slice.go
+++ b/src/runtime/slice.go
@@ -8,7 +8,7 @@ import (
"internal/abi"
"internal/goarch"
"internal/runtime/math"
- "runtime/internal/sys"
+ "internal/runtime/sys"
"unsafe"
)
@@ -18,7 +18,7 @@ type slice struct {
cap int
}
-// A notInHeapSlice is a slice backed by runtime/internal/sys.NotInHeap memory.
+// A notInHeapSlice is a slice backed by internal/runtime/sys.NotInHeap memory.
type notInHeapSlice struct {
array *notInHeap
len int