Descriptionfmt: document and fix the handling of precision for strings and byte slices
Previous behavior was undocumented and inconsistent. Now it is documented
and consistent and measures the input size, since that makes more sense
when talking about %q and %x. For %s the change has no effect.
Fixes issue 8151.
Patch Set 1 #Patch Set 2 : diff -r 2f66d595a9ec50db3bf4fe871c6a25a5fff21df3 https://code.google.com/p/go #Patch Set 3 : diff -r 12a2c798d360d887b5899bf09b31a56ed6a70823 https://code.google.com/p/go #
MessagesTotal messages: 4
|