diff options
| author | Muhammed Can Küçükaslan <32893303+Kucukaslan@users.noreply.github.com> | 2022-07-24 21:44:11 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-07-26 14:20:34 +0000 |
| commit | ceefd3a37bb2a77b1e9a76fc74360c68ef16ddb8 (patch) | |
| tree | 631aae393127e87678375f3d184129b528d64c2e /src/os/exec | |
| parent | 3e97294663d978bf8abb7acec7cc615ef2f1ea75 (diff) | |
| download | go-ceefd3a37bb2a77b1e9a76fc74360c68ef16ddb8.tar.xz | |
bytes: document that Reader.Reset affects the result of Size
The Reader.Reset changes the underlying byte slice, so it actually
changes the return value of the Size method.
Fixes #54018
Change-Id: I160deaa2244e95cb93303cb5dfb67a8d90a375ef
GitHub-Last-Rev: b04724a072d956db1f84a8f5db0afa0dbb158e96
GitHub-Pull-Request: golang/go#54020
Reviewed-on: https://go-review.googlesource.com/c/go/+/419237
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Joseph Tsai <joetsai@digital-static.net>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/os/exec')
0 files changed, 0 insertions, 0 deletions
