summaryrefslogtreecommitdiffhomepage
path: root/pkg/marshal
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2021-04-14 11:27:05 -0700
committergVisor bot <gvisor-bot@google.com>2021-04-14 11:28:49 -0700
commit5c1052b6bb2658208f1afaf423aeac98f30235c1 (patch)
tree7ff6b62adec989fd1ff2bd67a883fa8399174ae8 /pkg/marshal
parent36dbd3b97dbc455c6d710f4530ec8a07474dee64 (diff)
[syserror] Remove syserror from go_marshal
PiperOrigin-RevId: 368470656
Diffstat (limited to 'pkg/marshal')
-rw-r--r--pkg/marshal/marshal.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/marshal/marshal.go b/pkg/marshal/marshal.go
index eb036feae..7da450ce8 100644
--- a/pkg/marshal/marshal.go
+++ b/pkg/marshal/marshal.go
@@ -166,6 +166,9 @@ type Marshallable interface {
// %s is the first argument to the slice clause. This directive is not supported
// for newtypes on arrays.
//
+// Note: Partial copies are not supported for Slice API UnmarshalUnsafe and
+// MarshalUnsafe.
+//
// The slice clause also takes an optional second argument, which must be the
// value "inner":
//