Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
72d99aec
Commit
72d99aec
authored
Apr 03, 2013
by
Dmitriy Vyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: fix typos in go1.1
R=golang-dev, bradfitz CC=golang-dev
https://golang.org/cl/8342044
parent
5977e347
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
doc/go1.1.html
doc/go1.1.html
+2
-2
No files found.
doc/go1.1.html
View file @
72d99aec
...
...
@@ -291,7 +291,7 @@ The byte-order-mark change is strictly backward-compatible.
A major addition to the tools is a
<em>
race detector
</em>
, a way to find
bugs in programs caused by problems like concurrent changes to the same variable.
This new facility is built into the
<code>
go
</code>
tool.
To enable it, set the
the
<code>
-race
</code>
flag when building or testing your program
To enable it, set the
<code>
-race
</code>
flag when building or testing your program
(for instance,
<code>
go test -race
</code>
).
The race detector is documented in
<a
href=
"/doc/articles/race_detector.html"
>
a separate article
</a>
.
</p>
...
...
@@ -968,7 +968,7 @@ The <a href="/pkg/strings/"><code>strings</code></a> package has two new functio
<a
href=
"/pkg/strings/#TrimPrefix"
><code>
TrimPrefix
</code></a>
and
<a
href=
"/pkg/strings/#TrimSuffix"
><code>
TrimSuffix
</code></a>
with self-evident properties, and the
the
new method
with self-evident properties, and the new method
<a
href=
"/pkg/strings/#Reader.WriteTo"
><code>
Reader.WriteTo
</code></a>
so the
<a
href=
"/pkg/strings/#Reader"
><code>
Reader
</code></a>
type now implements the
...
...
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