Skip to content

Commit f1da6cd

Browse files
committed
remove note about foreach returning Unit
1 parent f67f26d commit f1da6cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_cheatsheets/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ println(upper.getOrElse(""))</code></pre></td>
477477
case Some(x) =&gt; f(x)
478478
case None =&gt; ()
479479
}</code></pre></td>
480-
<td>Apply a procedure on optional value. Returns <code>Unit</code>.</td>
480+
<td>Apply a procedure on optional value.</td>
481481
</tr>
482482
<tr>
483483
<td><pre class="highlight"><code>option.fold(y)(f(_))</code></pre>

0 commit comments

Comments
 (0)