mirror of https://github.com/golang/go.git
doc: replace tabs with spaces for alignment in code snippets
Fixes #52255 Change-Id: Ibb518cf2f6bac9e1ffc426a014afe80cc4c0df5e Reviewed-on: https://go-review.googlesource.com/c/go/+/399394 Reviewed-by: Jamal Carvalho <jamal@golang.org> Reviewed-by: Robert Griesemer <gri@google.com>
This commit is contained in:
parent
55c42c2892
commit
fd0ffedae2
|
|
@ -800,7 +800,7 @@ TypeName = identifier | QualifiedIdent .
|
|||
TypeArgs = "[" TypeList [ "," ] "]" .
|
||||
TypeList = Type { "," Type } .
|
||||
TypeLit = ArrayType | StructType | PointerType | FunctionType | InterfaceType |
|
||||
SliceType | MapType | ChannelType .
|
||||
SliceType | MapType | ChannelType .
|
||||
</pre>
|
||||
|
||||
<p>
|
||||
|
|
@ -3015,7 +3015,7 @@ declared in the <a href="#Blocks">package block</a> of that package.
|
|||
</p>
|
||||
|
||||
<pre>
|
||||
math.Sin // denotes the Sin function in package math
|
||||
math.Sin // denotes the Sin function in package math
|
||||
</pre>
|
||||
|
||||
<h3 id="Composite_literals">Composite literals</h3>
|
||||
|
|
@ -4841,7 +4841,7 @@ due to two's-complement <a href="#Integer_overflow">integer overflow</a>:
|
|||
</p>
|
||||
|
||||
<pre>
|
||||
x, q
|
||||
x, q
|
||||
int8 -128
|
||||
int16 -32768
|
||||
int32 -2147483648
|
||||
|
|
|
|||
Loading…
Reference in New Issue