Skip to content

Commit 690ac40

Browse files
committed
all: remove trailing blank doc comment lines
A future change to gofmt will rewrite // Doc comment. // func f() to // Doc comment. func f() Apply that change preemptively to all doc comments. For #51082. Change-Id: I4023e16cfb0729b64a8590f071cd92f17343081d Reviewed-on: https://go-review.googlesource.com/c/go/+/384259 Trust: Russ Cox <[email protected]> Run-TryBot: Russ Cox <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 89dff11 commit 690ac40

File tree

150 files changed

+0
-387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

150 files changed

+0
-387
lines changed

src/archive/zip/reader_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,6 @@ func returnRecursiveZip() (r io.ReaderAt, size int64) {
865865
//
866866
// It's here in hex for the same reason as rZipBytes above: to avoid
867867
// problems with on-disk virus scanners or other zip processors.
868-
//
869868
func biggestZipBytes() []byte {
870869
s := `
871870
0000000 50 4b 03 04 14 00 08 00 08 00 00 00 00 00 00 00

src/bufio/scan.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import (
2626
// advanced arbitrarily far past the last token. Programs that need more
2727
// control over error handling or large tokens, or must run sequential scans
2828
// on a reader, should use bufio.Reader instead.
29-
//
3029
type Scanner struct {
3130
r io.Reader // The reader provided by the client.
3231
split SplitFunc // The function to split the tokens.

src/cmd/asm/internal/asm/parse.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,6 @@ func (p *Parser) setPseudoRegister(addr *obj.Addr, reg string, isStatic bool, pr
855855
//
856856
// Anything else beginning with "<" logs an error if issueError is
857857
// true, otherwise returns (false, obj.ABI0).
858-
//
859858
func (p *Parser) symRefAttrs(name string, issueError bool) (bool, obj.ABI) {
860859
abi := obj.ABI0
861860
isStatic := false

src/cmd/cgo/gcc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ func (p *Package) addToFlag(flag string, args []string) {
119119
// Would be parsed as:
120120
//
121121
// []string{"a", "b:c d", "ef", `g"`}
122-
//
123122
func splitQuoted(s string) (r []string, err error) {
124123
var args []string
125124
arg := make([]rune, len(s))

src/cmd/compile/internal/importer/gcimporter.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ var pkgExts = [...]string{".a", ".o"}
2828
// the build.Default build.Context). A relative srcDir is interpreted
2929
// relative to the current working directory.
3030
// If no file was found, an empty filename is returned.
31-
//
3231
func FindPkg(path, srcDir string) (filename, id string) {
3332
if path == "" {
3433
return
@@ -84,7 +83,6 @@ func FindPkg(path, srcDir string) (filename, id string) {
8483
// Import imports a gc-generated package given its import path and srcDir, adds
8584
// the corresponding package object to the packages map, and returns the object.
8685
// The packages map must contain all packages already imported.
87-
//
8886
func Import(packages map[string]*types2.Package, path, srcDir string, lookup func(path string) (io.ReadCloser, error)) (pkg *types2.Package, err error) {
8987
var rc io.ReadCloser
9088
var id string

src/cmd/compile/internal/ir/fmt.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ func (o Op) GoString() string {
105105
//
106106
// %v Go syntax ("+", "<-", "print")
107107
// %+v Debug syntax ("ADD", "RECV", "PRINT")
108-
//
109108
func (o Op) Format(s fmt.State, verb rune) {
110109
switch verb {
111110
default:
@@ -129,7 +128,6 @@ func (o Op) Format(s fmt.State, verb rune) {
129128
// %v Go syntax
130129
// %L Go syntax followed by " (type T)" if type is known.
131130
// %+v Debug syntax, as in Dump.
132-
//
133131
func fmtNode(n Node, s fmt.State, verb rune) {
134132
// %+v prints Dump.
135133
// Otherwise we print Go syntax.
@@ -926,7 +924,6 @@ func ellipsisIf(b bool) string {
926924
// %v Go syntax, semicolon-separated
927925
// %.v Go syntax, comma-separated
928926
// %+v Debug syntax, as in DumpList.
929-
//
930927
func (l Nodes) Format(s fmt.State, verb rune) {
931928
if s.Flag('+') && verb == 'v' {
932929
// %+v is DumpList output

src/cmd/compile/internal/ir/mini.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ import (
2727
// The embedding struct should also fill in n.op in its constructor,
2828
// for more useful panic messages when invalid methods are called,
2929
// instead of implementing Op itself.
30-
//
3130
type miniNode struct {
3231
pos src.XPos // uint32
3332
op Op // uint8

src/cmd/compile/internal/reflectdata/reflect.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,6 @@ func (a typesByString) Swap(i, j int) { a[i], a[j] = a[j], a[i] }
15001500
// use bitmaps for objects up to 64 kB in size.
15011501
//
15021502
// Also known to reflect/type.go.
1503-
//
15041503
const maxPtrmaskBytes = 2048
15051504

15061505
// GCSym returns a data symbol containing GC information for type t, along

src/cmd/compile/internal/ssa/compile.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ var GenssaDump map[string]bool = make(map[string]bool) // names of functions to
259259
// GO_GCFLAGS=-d=ssa/generic_cse/time,ssa/generic_cse/stats,ssa/generic_cse/debug=3 ./make.bash
260260
//
261261
// BOOT_GO_GCFLAGS=-d='ssa/~^.*scc$/off' GO_GCFLAGS='-d=ssa/~^.*scc$/off' ./make.bash
262-
//
263262
func PhaseOption(phase, flag string, val int, valString string) string {
264263
switch phase {
265264
case "", "help":

src/cmd/compile/internal/ssa/debug.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,6 @@ func (sc *slotCanonicalizer) canonSlot(idx SlKeyIdx) LocalSlot {
428428
// This function examines the live OpArg{Int,Float}Reg values and
429429
// synthesizes new (dead) values for the non-live params or the
430430
// non-live pieces of partially live params.
431-
//
432431
func PopulateABIInRegArgOps(f *Func) {
433432
pri := f.ABISelf.ABIAnalyzeFuncType(f.Type.FuncType())
434433

src/cmd/compile/internal/ssa/debug_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ var optimizedLibs = (!strings.Contains(gogcflags, "-N") && !strings.Contains(gog
9393
// go test debug_test.go -args -u
9494
// (for Delve)
9595
// go test debug_test.go -args -u -d
96-
//
9796
func TestNexting(t *testing.T) {
9897
testenv.SkipFlaky(t, 37404)
9998

src/cmd/compile/internal/ssa/poset.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ type posetNode struct {
145145
// I extra
146146
// / \
147147
// J K
148-
//
149148
type poset struct {
150149
lastidx uint32 // last generated dense index
151150
flags uint8 // internal flags

src/cmd/compile/internal/syntax/parser.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ func isEmptyFuncDecl(dcl Decl) bool {
471471
// elements are accepted. list returns the position of the closing token.
472472
//
473473
// list = [ f { sep f } [sep] ] close .
474-
//
475474
func (p *parser) list(context string, sep, close token, f func() bool) Pos {
476475
if debug && (sep != _Comma && sep != _Semi || close != _Rparen && close != _Rbrace && close != _Rbrack) {
477476
panic("invalid sep or close argument for list")

src/cmd/compile/internal/syntax/syntax.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ type PragmaHandler func(pos Pos, blank bool, text string, current Pragma) Pragma
6363
// error, and the returned syntax tree is nil.
6464
//
6565
// If pragh != nil, it is called with each pragma encountered.
66-
//
6766
func Parse(base *PosBase, src io.Reader, errh ErrorHandler, pragh PragmaHandler, mode Mode) (_ *File, first error) {
6867
defer func() {
6968
if p := recover(); p != nil {

src/cmd/compile/internal/test/zerorange_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ func triggerZerorangeSmall(f, g, h uint64) (rv0 uint64) {
170170
// depending on the size of the thing that needs to be zeroed out
171171
// (I've verified at the time of the writing of this test that it
172172
// exercises the various cases).
173-
//
174173
func TestZerorange45372(t *testing.T) {
175174
if r := triggerZerorangeLarge(101, 303, 505); r != 1010 {
176175
t.Errorf("large: wanted %d got %d", 1010, r)

src/cmd/compile/internal/types/fmt.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ const (
8383
// %v Go syntax: Name for symbols in the local package, PkgName.Name for imported symbols.
8484
// %+v Debug syntax: always include PkgName. prefix even for local names.
8585
// %S Short syntax: Name only, no matter what.
86-
//
8786
func (s *Sym) Format(f fmt.State, verb rune) {
8887
mode := fmtGo
8988
switch verb {
@@ -241,7 +240,6 @@ var fmtBufferPool = sync.Pool{
241240
// %L Go syntax for underlying type if t is named
242241
// %S short Go syntax: drop leading "func" in function type
243242
// %-S special case for method receiver symbol
244-
//
245243
func (t *Type) Format(s fmt.State, verb rune) {
246244
mode := fmtGo
247245
switch verb {

src/cmd/compile/internal/types2/api.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ type Info struct {
285285

286286
// TypeOf returns the type of expression e, or nil if not found.
287287
// Precondition: the Types, Uses and Defs maps are populated.
288-
//
289288
func (info *Info) TypeOf(e syntax.Expr) Type {
290289
if t, ok := info.Types[e]; ok {
291290
return t.Type
@@ -305,7 +304,6 @@ func (info *Info) TypeOf(e syntax.Expr) Type {
305304
// it defines, not the type (*TypeName) it uses.
306305
//
307306
// Precondition: the Uses and Defs maps are populated.
308-
//
309307
func (info *Info) ObjectOf(id *syntax.Name) Object {
310308
if obj := info.Defs[id]; obj != nil {
311309
return obj

src/cmd/compile/internal/types2/builtins.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
// reports whether the call is valid, with *x holding the result;
1717
// but x.expr is not set. If the call is invalid, the result is
1818
// false, and *x is undefined.
19-
//
2019
func (check *Checker) builtin(x *operand, call *syntax.CallExpr, id builtinId) (_ bool) {
2120
// append is the only built-in that permits the use of ... for the last argument
2221
bin := predeclaredFuncs[id]

src/cmd/compile/internal/types2/expr.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,6 @@ const (
12111211
// If hint != nil, it is the type of a composite literal element.
12121212
// If allowGeneric is set, the operand type may be an uninstantiated
12131213
// parameterized type or function value.
1214-
//
12151214
func (check *Checker) rawExpr(x *operand, e syntax.Expr, hint Type, allowGeneric bool) exprKind {
12161215
if check.conf.Trace {
12171216
check.trace(e.Pos(), "-- expr %s", e)
@@ -1259,7 +1258,6 @@ func (check *Checker) nonGeneric(x *operand) {
12591258

12601259
// exprInternal contains the core of type checking of expressions.
12611260
// Must only be called by rawExpr.
1262-
//
12631261
func (check *Checker) exprInternal(x *operand, e syntax.Expr, hint Type) exprKind {
12641262
// make sure x has a valid state in case of bailout
12651263
// (was issue 5770)
@@ -1764,7 +1762,6 @@ func (check *Checker) typeAssertion(e syntax.Expr, x *operand, T Type, typeSwitc
17641762
// expr typechecks expression e and initializes x with the expression value.
17651763
// The result must be a single value.
17661764
// If an error occurred, x.mode is set to invalid.
1767-
//
17681765
func (check *Checker) expr(x *operand, e syntax.Expr) {
17691766
check.rawExpr(x, e, nil, false)
17701767
check.exclude(x, 1<<novalue|1<<builtin|1<<typexpr)
@@ -1780,7 +1777,6 @@ func (check *Checker) multiExpr(x *operand, e syntax.Expr) {
17801777
// exprWithHint typechecks expression e and initializes x with the expression value;
17811778
// hint is the type of a composite literal element.
17821779
// If an error occurred, x.mode is set to invalid.
1783-
//
17841780
func (check *Checker) exprWithHint(x *operand, e syntax.Expr, hint Type) {
17851781
assert(hint != nil)
17861782
check.rawExpr(x, e, hint, false)
@@ -1792,7 +1788,6 @@ func (check *Checker) exprWithHint(x *operand, e syntax.Expr, hint Type) {
17921788
// If allowGeneric is set, the operand type may be an uninstantiated parameterized type or function
17931789
// value.
17941790
// If an error occurred, x.mode is set to invalid.
1795-
//
17961791
func (check *Checker) exprOrType(x *operand, e syntax.Expr, allowGeneric bool) {
17971792
check.rawExpr(x, e, nil, allowGeneric)
17981793
check.exclude(x, 1<<novalue)

src/cmd/compile/internal/types2/lookup.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ import (
4141
// - If indirect is set, a method with a pointer receiver type was found
4242
// but there was no pointer on the path from the actual receiver type to
4343
// the method's formal receiver base type, nor was the receiver addressable.
44-
//
4544
func LookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string) (obj Object, index []int, indirect bool) {
4645
if T == nil {
4746
panic("LookupFieldOrMethod on nil type")
@@ -281,7 +280,6 @@ func lookupType(m map[Type]int, typ Type) (int, bool) {
281280
// is not set), MissingMethod only checks that methods of T which are also
282281
// present in V have matching types (e.g., for a type assertion x.(T) where
283282
// x is of interface type V).
284-
//
285283
func MissingMethod(V Type, T *Interface, static bool) (method *Func, wrongType bool) {
286284
m, alt := (*Checker)(nil).missingMethod(V, T, static)
287285
// Only report a wrong type if the alternative method has the same name as m.

src/cmd/compile/internal/types2/object.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
// An Object describes a named language entity such as a package,
1717
// constant, type, variable, function (incl. methods), or label.
1818
// All objects implement the Object interface.
19-
//
2019
type Object interface {
2120
Parent() *Scope // scope in which this object is declared; nil for methods and struct fields
2221
Pos() syntax.Pos // position of object identifier in declaration

src/cmd/compile/internal/types2/operand.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ var operandModeString = [...]string{
5252
// the operand, the operand's type, a value for constants, and an id
5353
// for built-in functions.
5454
// The zero value of operand is a ready to use invalid operand.
55-
//
5655
type operand struct {
5756
mode operandMode
5857
expr syntax.Expr
@@ -63,7 +62,6 @@ type operand struct {
6362

6463
// Pos returns the position of the expression corresponding to x.
6564
// If x is invalid the position is nopos.
66-
//
6765
func (x *operand) Pos() syntax.Pos {
6866
// x.expr may not be set if x is invalid
6967
if x.expr == nil {
@@ -108,7 +106,6 @@ func (x *operand) Pos() syntax.Pos {
108106
//
109107
// cgofunc <expr> (<untyped kind> <mode> )
110108
// cgofunc <expr> ( <mode> of type <typ>)
111-
//
112109
func operandString(x *operand, qf Qualifier) string {
113110
// special-case nil
114111
if x.mode == nilvalue {

src/cmd/compile/internal/types2/selection.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const (
3636
// p.x FieldVal T x int {0} true
3737
// p.m MethodVal *T m func() {1, 0} true
3838
// T.m MethodExpr T m func(T) {1, 0} false
39-
//
4039
type Selection struct {
4140
kind SelectionKind
4241
recv Type // type of x
@@ -115,7 +114,6 @@ func (s *Selection) String() string { return SelectionString(s, nil) }
115114
// "field (T) f int"
116115
// "method (T) f(X) Y"
117116
// "method expr (T) f(X) Y"
118-
//
119117
func SelectionString(s *Selection, qf Qualifier) string {
120118
var k string
121119
switch s.kind {

src/cmd/compile/internal/types2/sizes.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ type Sizes interface {
3939
// types are naturally aligned with a maximum alignment MaxAlign.
4040
//
4141
// *StdSizes implements Sizes.
42-
//
4342
type StdSizes struct {
4443
WordSize int64 // word size in bytes - must be >= 4 (32bits)
4544
MaxAlign int64 // maximum alignment in bytes - must be >= 1

src/cmd/compile/internal/types2/typestring.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525
//
2626
// Using a nil Qualifier is equivalent to using (*Package).Path: the
2727
// object is qualified by the import path, e.g., "encoding/json.Marshal".
28-
//
2928
type Qualifier func(*Package) string
3029

3130
// RelativeTo returns a Qualifier that fully qualifies members of

src/cmd/compile/internal/types2/typeterm.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ package types2
1010
// 𝓤: &term{} == 𝓤 // set of all types (𝓤niverse)
1111
// T: &term{false, T} == {T} // set of type T
1212
// ~t: &term{true, t} == {t' | under(t') == t} // set of types with underlying type t
13-
//
1413
type term struct {
1514
tilde bool // valid if typ != nil
1615
typ Type

src/cmd/compile/internal/types2/typexpr.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import (
1717
// If an error occurred, x.mode is set to invalid.
1818
// For the meaning of def, see Checker.definedType, below.
1919
// If wantType is set, the identifier e is expected to denote a type.
20-
//
2120
func (check *Checker) ident(x *operand, e *syntax.Name, def *Named, wantType bool) {
2221
x.mode = invalid
2322
x.expr = e
@@ -181,7 +180,6 @@ func (check *Checker) validVarType(e syntax.Expr, typ Type) {
181180
// If def != nil, e is the type specification for the defined type def, declared
182181
// in a type declaration, and def.underlying will be set to the type of e before
183182
// any components of e are type-checked.
184-
//
185183
func (check *Checker) definedType(e syntax.Expr, def *Named) Type {
186184
typ := check.typInternal(e, def)
187185
assert(isTyped(typ))
@@ -216,7 +214,6 @@ func goTypeName(typ Type) string {
216214

217215
// typInternal drives type checking of types.
218216
// Must only be called by definedType or genericType.
219-
//
220217
func (check *Checker) typInternal(e0 syntax.Expr, def *Named) (T Type) {
221218
if check.conf.Trace {
222219
check.trace(e0.Pos(), "-- type %s", e0)

src/cmd/compile/internal/types2/universe.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ func init() {
245245
// Objects with names containing blanks are internal and not entered into
246246
// a scope. Objects with exported names are inserted in the unsafe package
247247
// scope; other objects are inserted in the universe scope.
248-
//
249248
func def(obj Object) {
250249
assert(obj.color() == black)
251250
name := obj.Name()

src/cmd/compile/internal/walk/builtin.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ func walkClose(n *ir.UnaryExpr, init *ir.Nodes) ir.Node {
133133
// n;
134134
//
135135
// Also works if b is a string.
136-
//
137136
func walkCopy(n *ir.BinaryExpr, init *ir.Nodes, runtimecall bool) ir.Node {
138137
if n.X.Type().Elem().HasPointers() {
139138
ir.CurFunc.SetWBPos(n.Pos())

src/cmd/cover/cover_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ func buildCover(t *testing.T) {
165165
// go build -o testcover
166166
// testcover -mode=count -var=CoverTest -o ./testdata/test_cover.go testdata/test_line.go
167167
// go run ./testdata/main.go ./testdata/test.go
168-
//
169168
func TestCover(t *testing.T) {
170169
t.Parallel()
171170
testenv.MustHaveGoRun(t)

src/cmd/dist/buildruntime.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import (
2020
// package sys
2121
//
2222
// const StackGuardMultiplier = <multiplier value>
23-
//
2423
func mkzversion(dir, file string) {
2524
var buf bytes.Buffer
2625
fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")
@@ -80,7 +79,6 @@ func mkbuildcfg(file string) {
8079
// package objabi
8180
//
8281
// const stackGuardMultiplierDefault = <multiplier value>
83-
//
8482
func mkobjabi(file string) {
8583
var buf bytes.Buffer
8684
fmt.Fprintf(&buf, "// Code generated by go tool dist; DO NOT EDIT.\n")

src/cmd/go/internal/cache/cache.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ type Cache struct {
4747
// to share a cache directory (for example, if the directory were stored
4848
// in a network file system). File locking is notoriously unreliable in
4949
// network file systems and may not suffice to protect the cache.
50-
//
5150
func Open(dir string) (*Cache, error) {
5251
info, err := os.Stat(dir)
5352
if err != nil {

src/cmd/go/internal/imports/build.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ func isGoBuildComment(line []byte) bool {
6666
// the purpose of satisfying build tags, in order to estimate
6767
// (conservatively) whether a file could ever possibly be used
6868
// in any build.
69-
//
7069
func ShouldBuild(content []byte, tags map[string]bool) bool {
7170
// Identify leading run of // comments and blank lines,
7271
// which must be followed by a blank line.

src/cmd/go/internal/modload/load.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2151,7 +2151,6 @@ func (ld *loader) buildStacks() {
21512151
// other2 tested by
21522152
// other2.test imports
21532153
// pkg
2154-
//
21552154
func (pkg *loadPkg) stackText() string {
21562155
var stack []*loadPkg
21572156
for p := pkg; p != nil; p = p.stack {

0 commit comments

Comments
 (0)