fmt: implement precs for %q.
Also fix a bug: precision was in terms of bytes; should be runes. Fixes #1652. R=rsc, bradfitzgo, r2, bradfitzwork CC=golang-dev https://golang.org/cl/4280086
Showing
Please register or sign in to comment
Also fix a bug: precision was in terms of bytes; should be runes. Fixes #1652. R=rsc, bradfitzgo, r2, bradfitzwork CC=golang-dev https://golang.org/cl/4280086