From cac006ae5a25ac333030b10b3430a4d47c8c9c19 Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Sat, 30 Aug 2014 10:27:01 -0700 Subject: [PATCH] spec: Fix indentation and remove trailing white space characters. LGTM=gri R=golang-codereviews, bradfitz, gri CC=golang-codereviews https://golang.org/cl/133330043 --- doc/go_spec.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/go_spec.html b/doc/go_spec.html index a5edc8646c..eec1cdb7a7 100644 --- a/doc/go_spec.html +++ b/doc/go_spec.html @@ -1034,7 +1034,7 @@ The value of an uninitialized pointer is nil.
 PointerType = "*" BaseType .
-BaseType = Type .
+BaseType    = Type .
 
@@ -2118,9 +2118,9 @@ operand only on the left-hand side of an assignment.
 

-Operand    = Literal | OperandName | MethodExpr | "(" Expression ")" .
-Literal    = BasicLit | CompositeLit | FunctionLit .
-BasicLit   = int_lit | float_lit | imaginary_lit | rune_lit | string_lit .
+Operand     = Literal | OperandName | MethodExpr | "(" Expression ")" .
+Literal     = BasicLit | CompositeLit | FunctionLit .
+BasicLit    = int_lit | float_lit | imaginary_lit | rune_lit | string_lit .
 OperandName = identifier | QualifiedIdent.
 
@@ -3598,7 +3598,7 @@ or an array indexing operation of an addressable array. As an exception to the addressability requirement, x may also be a (possibly parenthesized) composite literal. -If the evaluation of x would cause a run-time panic, +If the evaluation of x would cause a run-time panic, then the evaluation of &x does too.

@@ -4052,7 +4052,7 @@ n := map[int]int{a: f()} // n may be {2: 3} or {3: 3}: evaluation order bet

At package level, initialization dependencies override the left-to-right rule for individual initialization expressions, but not for operands within each -expression: +expression:

@@ -5942,7 +5942,7 @@ variable or function.
 
  • A reference to a method m is a method value or -method expression of the form +method expression of the form t.m, where the (static) type of t is not an interface type, and the method m is in the method set of t. @@ -5951,7 +5951,7 @@ It is immaterial whether the resulting function value
  • -A variable, function, or method x depends on a variable +A variable, function, or method x depends on a variable y if x's initialization expression or body (for functions and methods) contains a reference to y or to a function or method that depends on y. @@ -6003,7 +6003,7 @@ func init() { … }
  • -Multiple such functions may be defined, even within a single +Multiple such functions may be defined, even within a single source file. The init identifier is not declared and thus init functions cannot be referred to from anywhere -- 2.50.0