]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: make code formatting more consistent in doc.go
authorquasilyte <quasilyte@gmail.com>
Mon, 19 Mar 2018 10:21:35 +0000 (13:21 +0300)
committerBrad Fitzpatrick <bradfitz@golang.org>
Mon, 19 Mar 2018 12:53:16 +0000 (12:53 +0000)
Replaces " \t" code indentation with "\t".

Issues like this are easy to spot with editor that prints
whitespace charecters.

Change-Id: Ia82877e7c99121bf369fa76e46ba52dff84f36bf
Reviewed-on: https://go-review.googlesource.com/101355
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/strconv/doc.go

index 7bc1e27937fc759d14610ad3af3fe044950b9859..cba898426afe760c5bc09e2496a0463b3ffa0131 100644 (file)
 //
 // FormatBool, FormatFloat, FormatInt, and FormatUint convert values to strings:
 //
-//     s := strconv.FormatBool(true)
-//     s := strconv.FormatFloat(3.1415, 'E', -1, 64)
-//     s := strconv.FormatInt(-42, 16)
-//     s := strconv.FormatUint(42, 16)
+//     s := strconv.FormatBool(true)
+//     s := strconv.FormatFloat(3.1415, 'E', -1, 64)
+//     s := strconv.FormatInt(-42, 16)
+//     s := strconv.FormatUint(42, 16)
 //
 // AppendBool, AppendFloat, AppendInt, and AppendUint are similar but
 // append the formatted value to a destination slice.