Commit 26f43a08 authored by Shenghou Ma's avatar Shenghou Ma

doc: fix small HTML problems

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/14629043
parent 7f168f9c
...@@ -296,7 +296,7 @@ package newmath ...@@ -296,7 +296,7 @@ package newmath
// Sqrt returns an approximation to the square root of x. // Sqrt returns an approximation to the square root of x.
func Sqrt(x float64) float64 { func Sqrt(x float64) float64 {
z := 1.0 z := 1.0
for i := 0; i < 1000; i++ { for i := 0; i &lt; 1000; i++ {
z -= (z*z - x) / (2 * z) z -= (z*z - x) / (2 * z)
} }
return z return z
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
its <code>src</code> is just a file name. its <code>src</code> is just a file name.
</step> </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 The most complex part of the codewalk specification is
saying what lines to highlight. saying what lines to highlight.
Instead of ordinary line numbers, Instead of ordinary line numbers,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment