]> Cypherpunks repositories - gostls13.git/commitdiff
doc: replace tabs with spaces for alignment in code snippets
authorGeorge Looshch <looshch@loosh.ch>
Sat, 9 Apr 2022 22:55:33 +0000 (23:55 +0100)
committerRobert Griesemer <gri@google.com>
Thu, 26 May 2022 23:22:37 +0000 (23:22 +0000)
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>
doc/go_spec.html

index 1caaba1ccb95b690188d0493619d0b01b08fd770..37580a83b7e2e10ec9bdca7c1e303a83675fd4fa 100644 (file)
@@ -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