Fix interfaces typo

This commit is contained in:
Mark McGranaghan 2014-12-13 14:17:32 -08:00
parent edf813b3d1
commit a2fe5f2db4
3 changed files with 5 additions and 5 deletions

View File

@ -56,7 +56,7 @@ func main() {
// The `circle` and `square` struct types both // The `circle` and `square` struct types both
// implement the `geometry` interface so we can use // implement the `geometry` interface so we can use
// instances of // instances of
// these structs as arguments to `measure. // these structs as arguments to `measure`.
measure(s) measure(s)
measure(c) measure(c)
} }

View File

@ -1,2 +1,2 @@
853be73c5685a0510da77c22c64727afa7fb0581 9bafbade1f5effc38be233c3fd12cbdd7c6e226d
vx8bwC-Bmq guxTzcucR-

View File

@ -40,7 +40,7 @@ signatures.</p>
</td> </td>
<td class="code leading"> <td class="code leading">
<a href="http://play.golang.org/p/vx8bwC-Bmq"><img title="Run code" src="play.png" class="run" /></a> <a href="http://play.golang.org/p/guxTzcucR-"><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>
@ -172,7 +172,7 @@ to work on any <code>geometry</code>.</p>
<p>The <code>circle</code> and <code>square</code> struct types both <p>The <code>circle</code> and <code>square</code> struct types both
implement the <code>geometry</code> interface so we can use implement the <code>geometry</code> interface so we can use
instances of instances of
these structs as arguments to measure.</p> these structs as arguments to <code>measure</code>.</p>
</td> </td>
<td class="code"> <td class="code">