diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-11-08 00:37:24 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-11-08 00:39:46 -0800 |
commit | 4622e17bccc7c40a2698e8314d29bbde87090cec (patch) | |
tree | ebf9e83a9c9275bfb90367f301902072d8526028 /pkg/sync/README.md | |
parent | ce4f4283badb6b07baf9f8e6d99e7a5fd15c92db (diff) |
Simplify {Un}MarshalUnsafeSlice method signatures.
Earlier this function was returning (int, error) much like the Copy{In/Out}
methods. The returned error was always nil. The returned int was never used.
Instead make it returned the shifted buffer which is more useful.
Updates #6450
PiperOrigin-RevId: 408268327
Diffstat (limited to 'pkg/sync/README.md')
0 files changed, 0 insertions, 0 deletions