aboutsummaryrefslogtreecommitdiff
path: root/src/content/chapter0_basics/lesson11_discard_patterns/en.html
blob: 46dc79b4ccd7e8bfab0a397d4e304c3fdfba0474 (plain)
1
2
3
4
5
6
7
8
9
10
<p>
  If a variable is assigned but not used then Gleam will emit a warning.
</p>
<p>
  If a variable is intended not to be use then the name can be prefixed with an
  underscore, silencing the warning.
</p>
<p>
  Try changing the variable name to <code>score</code> to see the warning.
</p>