]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix small HTML problems
authorShenghou Ma <minux.ma@gmail.com>
Sat, 12 Oct 2013 22:40:41 +0000 (18:40 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Sat, 12 Oct 2013 22:40:41 +0000 (18:40 -0400)
R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/14629043

doc/code.html
doc/codewalk/codewalk.xml

index f9aa6ac171d3c2e4db5ae6c403877cd1c82f19ea..946585ccd8b8f5a698f5d7dddaba8a8767c8dfff 100644 (file)
@@ -296,7 +296,7 @@ package newmath
 // Sqrt returns an approximation to the square root of x.
 func Sqrt(x float64) float64 {
        z := 1.0
-       for i := 0; i < 1000; i++ {
+       for i := 0; i &lt; 1000; i++ {
                z -= (z*z - x) / (2 * z)
        }
        return z
index 9cd8361e849423018c650b2d935c1c646ef2d075..3496db71d76ceed794ad09c96e8684a877a55815 100644 (file)
@@ -42,7 +42,7 @@
        its <code>src</code> is just a file name.
 </step>
 
-<step title="Specifiying a source line" src='doc/codewalk/codewalk.xml:/title="Title"/'>
+<step title="Specifying a source line" src='doc/codewalk/codewalk.xml:/title="Title"/'>
        The most complex part of the codewalk specification is
        saying what lines to highlight.
        Instead of ordinary line numbers,