diff options
| author | Rob Pike <r@golang.org> | 2015-06-12 16:17:08 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2015-06-13 04:33:26 +0000 |
| commit | a1fe3b5046d9f7249c04ce942f4d2d1d771bff40 (patch) | |
| tree | 7b10c8a3f5d263899b8c2b9c0229cde7d341a2d6 /src/syscall/exec_linux_test.go | |
| parent | ff8f3f0fa126c71059f53f81be3b87237fb55546 (diff) | |
| download | go-a1fe3b5046d9f7249c04ce942f4d2d1d771bff40.tar.xz | |
fmt: scanning widths apply after leading spaces
When scanning with a width, as in %5s, C skips leading spaces
brefore counting the 5 characters. We should do the same.
Reword the documentation about widths to make this clear.
Fixes #9444
Change-Id: I443a6441adcf1c834057ef3977f9116a987a79cd
Reviewed-on: https://go-review.googlesource.com/10997
Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions
