Clarify the comment on the recursion example

More than one example in it now
This commit is contained in:
Eli Bendersky 2021-09-02 10:40:04 -07:00
parent b4568f3025
commit 2e6a5ad8c9
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
// Go supports
// <a href="http://en.wikipedia.org/wiki/Recursion_(computer_science)"><em>recursive functions</em></a>.
// Here's a classic factorial example.
// Here's a classic example.
package main

View File

@ -1,2 +1,2 @@
55d9633a4f0fd0eac2f243b2a2ddb35ae91ed4a9
LnBMavPrkuf
02b9ee049def729d92a63fa13eddef5ce5358640
yDJXBAPUR7V

4
public/recursion generated
View File

@ -29,7 +29,7 @@
<td class="docs">
<p>Go supports
<a href="http://en.wikipedia.org/wiki/Recursion_(computer_science)"><em>recursive functions</em></a>.
Here&rsquo;s a classic factorial example.</p>
Here&rsquo;s a classic example.</p>
</td>
<td class="code empty leading">
@ -43,7 +43,7 @@ Here&rsquo;s a classic factorial example.</p>
</td>
<td class="code leading">
<a href="http://play.golang.org/p/LnBMavPrkuf"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<a href="http://play.golang.org/p/yDJXBAPUR7V"><img title="Run code" src="play.png" class="run" /></a><img title="Copy code" src="clipboard.png" class="copy" />
<pre class="chroma"><span class="kn">package</span> <span class="nx">main</span>
</pre>
</td>