Fix typo in string-functions
This commit is contained in:
parent
2cad6277f8
commit
e533ad365b
@ -14,7 +14,7 @@ var p = fmt.Println
|
|||||||
func main() {
|
func main() {
|
||||||
|
|
||||||
// Here's a sample of the functions available in
|
// Here's a sample of the functions available in
|
||||||
// `strings`. Note that these are all functions from
|
// `strings`. Note that these are all functions from the
|
||||||
// package, not methods on the string object itself.
|
// package, not methods on the string object itself.
|
||||||
// This means that we need pass the string in question
|
// This means that we need pass the string in question
|
||||||
// as the first argument to the function.
|
// as the first argument to the function.
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
66fdf78c9be9a41e52bcf2e8b01ab95fa7753401
|
d7150ce50772abdaf827082093613134cb05e08f
|
||||||
COXm374QWe
|
Gkc5rDaeaN
|
||||||
|
@ -41,7 +41,7 @@ to give you a sense of the package.</p>
|
|||||||
|
|
||||||
</td>
|
</td>
|
||||||
<td class="code leading">
|
<td class="code leading">
|
||||||
<a href="http://play.golang.org/p/COXm374QWe"><img title="Run code" src="play.png" class="run" /></a>
|
<a href="http://play.golang.org/p/Gkc5rDaeaN"><img title="Run code" src="play.png" class="run" /></a>
|
||||||
<div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span>
|
<div class="highlight"><pre><span class="kn">package</span> <span class="nx">main</span>
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ it a lot below.</p>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="docs">
|
<td class="docs">
|
||||||
<p>Here’s a sample of the functions available in
|
<p>Here’s a sample of the functions available in
|
||||||
<code>strings</code>. Note that these are all functions from
|
<code>strings</code>. Note that these are all functions from the
|
||||||
package, not methods on the string object itself.
|
package, not methods on the string object itself.
|
||||||
This means that we need pass the string in question
|
This means that we need pass the string in question
|
||||||
as the first argument to the function.</p>
|
as the first argument to the function.</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user