diff options
| author | Mohit Agarwal <mohit@sdf.org> | 2016-10-24 22:39:04 +0530 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-10-24 17:59:42 +0000 |
| commit | a6141ebd3f33c1f4330a0ce3507f686b7fd64489 (patch) | |
| tree | be066b1f0518125159f9f4b6a30f4ffd413c9503 /src/encoding | |
| parent | 0fff67d191514d4eab9e5fd1f078a8c66c8550fd (diff) | |
| download | go-a6141ebd3f33c1f4330a0ce3507f686b7fd64489.tar.xz | |
math/big: fix alignment in Float.Parse docs
Leading spaces in a couple of lines instead of tabs cause those to be
misaligned (as seen on <https://golang.org/pkg/math/big/#Float.Parse>):
<<<
number = [ sign ] [ prefix ] mantissa [ exponent ] | infinity .
sign = "+" | "-" .
prefix = "0" ( "x" | "X" | "b" | "B" ) .
mantissa = digits | digits "." [ digits ] | "." digits .
exponent = ( "E" | "e" | "p" ) [ sign ] digits .
digits = digit { digit } .
digit = "0" ... "9" | "a" ... "z" | "A" ... "Z" .
infinity = [ sign ] ( "inf" | "Inf" ) .
>>>
Replace the leading spaces with tabs so that those align well.
Change-Id: Ibba6cd53f340001bbd929067dc587feb071dc3bd
Reviewed-on: https://go-review.googlesource.com/31830
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
