summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2013-10-12 18:40:41 -0400
committerShenghou Ma <minux.ma@gmail.com>2013-10-12 18:40:41 -0400
commita868f5ca1a847146b25cb3378f1d70036574b289 (patch)
tree265f808f8d20d196629d110c375cb6275e98e653 /doc
parent546f029ff60e7cc53e67c7893d10f08fdc842628 (diff)
downloadgo-a868f5ca1a847146b25cb3378f1d70036574b289.tar.gz
doc: fix small HTML problems
R=golang-dev, dave CC=golang-dev https://codereview.appspot.com/14629043
Diffstat (limited to 'doc')
-rw-r--r--doc/code.html2
-rw-r--r--doc/codewalk/codewalk.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/code.html b/doc/code.html
index f9aa6ac17..946585ccd 100644
--- a/doc/code.html
+++ b/doc/code.html
@@ -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
diff --git a/doc/codewalk/codewalk.xml b/doc/codewalk/codewalk.xml
index 9cd8361e8..3496db71d 100644
--- a/doc/codewalk/codewalk.xml
+++ b/doc/codewalk/codewalk.xml
@@ -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,