File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ permalink: /cheatsheets/index.html
71
71
</tr>
72
72
<tr>
73
73
<td><span class="label success">Good</span><br> <pre class="highlight"><code>(1 to 5).map(2 *)</code></pre><br /> <span class="label important">Bad</span><br> <pre class="highlight"><code>(1 to 5).map(* 2)</code></pre></td>
74
- <td>anonymous function: bound infix method.<br /> Use <code class="highlighter-rouge">2 * _</code> for sanity’s sake instead.</td>
74
+ <td>anonymous function: bound infix method.<br /> Use <code class="highlighter-rouge">2 * _</code> for sanity’s sake instead.<br />Will require <code>import scala.language.postfixOps</code> in the future.< /td>
75
75
</tr>
76
76
<tr>
77
77
<td><pre class="highlight"><code>(1 to 5).map { x =>
You can’t perform that action at this time.
0 commit comments