]> Cypherpunks repositories - gostls13.git/commitdiff
A selection of trivials.
authorGustavo Niemeyer <gustavo@niemeyer.net>
Sun, 12 Dec 2010 22:16:37 +0000 (14:16 -0800)
committerRobert Griesemer <gri@golang.org>
Sun, 12 Dec 2010 22:16:37 +0000 (14:16 -0800)
R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/3606043

lib/godoc/package.html
src/cmd/gc/align.c
src/pkg/go/doc/doc.go

index 3a73a9e3ba692630a534baa82d8420120f4ff464..5dc61b7cd9dce73d1db4d6cdbd60ad05b4519b21 100644 (file)
        <th align="left">Synopsis</th>
        </tr>
        <tr>
-       <th align="left"><a href="..">..<a></th>
+       <th align="left"><a href="..">..</a></th>
        </tr>
        {.repeated section List}
                <tr>
                {Depth|padding}
-               <td align="left" colspan="{Height|html-esc}"><a href="{Path|html-esc}">{Name|html-esc}<a></td>
+               <td align="left" colspan="{Height|html-esc}"><a href="{Path|html-esc}">{Name|html-esc}</a></td>
                <td></td>
                <td align="left">{Synopsis|html-esc}</td>
                </tr>
index 1d68b55a006f53cdde7b9a591d92d9071d1aa595..57dd3071beb9bc8a46a6ac655ba3f667367ad869 100644 (file)
@@ -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;
index dfa236027223c878d3696c04a9b13396e98c43e4..fb1c4e03d86342720e1358abb52b01f190086897 100644 (file)
@@ -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;