From 1f6b6ca9ba5f9163d154f1fc62df3d989074d53a Mon Sep 17 00:00:00 2001 From: Gustavo Niemeyer Date: Sun, 12 Dec 2010 14:16:37 -0800 Subject: [PATCH] A selection of trivials. R=golang-dev, gri CC=golang-dev https://golang.org/cl/3606043 --- lib/godoc/package.html | 4 ++-- src/cmd/gc/align.c | 4 ++-- src/pkg/go/doc/doc.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 3a73a9e3ba6..5dc61b7cd9d 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -104,12 +104,12 @@ Synopsis - .. + .. {.repeated section List} {Depth|padding} - {Name|html-esc} + {Name|html-esc} {Synopsis|html-esc} diff --git a/src/cmd/gc/align.c b/src/cmd/gc/align.c index 1d68b55a006..57dd3071beb 100644 --- a/src/cmd/gc/align.c +++ b/src/cmd/gc/align.c @@ -7,8 +7,8 @@ /* * machine size and rounding * alignment is dictated around - * the size of a pointer, set in belexinit - * (see ../6g/align.c). + * the size of a pointer, set in betypeinit + * (see ../6g/galign.c). */ static int defercalc; diff --git a/src/pkg/go/doc/doc.go b/src/pkg/go/doc/doc.go index dfa23602722..fb1c4e03d86 100644 --- a/src/pkg/go/doc/doc.go +++ b/src/pkg/go/doc/doc.go @@ -127,7 +127,7 @@ func (doc *docReader) addValue(decl *ast.GenDecl) { name := "" switch { case v.Type != nil: - // a type is present; determine it's name + // a type is present; determine its name name = baseTypeName(v.Type) case decl.Tok == token.CONST: // no type is present but we have a constant declaration;