Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
26f43a08
Commit
26f43a08
authored
Oct 12, 2013
by
Shenghou Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix small HTML problems
R=golang-dev, dave CC=golang-dev
https://golang.org/cl/14629043
parent
7f168f9c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
code.html
doc/code.html
+1
-1
codewalk.xml
doc/codewalk/codewalk.xml
+1
-1
No files found.
doc/code.html
View file @
26f43a08
...
...
@@ -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
...
...
doc/codewalk/codewalk.xml
View file @
26f43a08
...
...
@@ -42,7 +42,7 @@
its
<code>
src
</code>
is just a file name.
</step>
<step
title=
"Specif
i
ying 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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment