From 26f43a089e9d77cdb8c7c7f2c600631283de91f2 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Sat, 12 Oct 2013 18:40:41 -0400 Subject: [PATCH] doc: fix small HTML problems R=golang-dev, dave CC=golang-dev https://golang.org/cl/14629043 --- doc/code.html | 2 +- doc/codewalk/codewalk.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/code.html b/doc/code.html index f9aa6ac171..946585ccd8 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 < 1000; i++ { z -= (z*z - x) / (2 * z) } return z diff --git a/doc/codewalk/codewalk.xml b/doc/codewalk/codewalk.xml index 9cd8361e84..3496db71d7 100644 --- a/doc/codewalk/codewalk.xml +++ b/doc/codewalk/codewalk.xml @@ -42,7 +42,7 @@ its src is just a file name. - + The most complex part of the codewalk specification is saying what lines to highlight. Instead of ordinary line numbers, -- 2.50.0