summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBjörn Gustavsson <bjorn@erlang.org>2020-11-11 13:10:36 +0100
committerGitHub <noreply@github.com>2020-11-11 13:10:36 +0100
commitf4a89752fcd92697eec00c29e6a1ab87224bfa27 (patch)
tree5edb2ebe9e5dee487a53c1c75243bd3f1ca54f4f /system
parent24f9b4802537b60d23fe0465e1c0b5d2f57585c3 (diff)
parent2d14bacec0d68524f2c5b4bdc59d7b60f6268357 (diff)
downloaderlang-f4a89752fcd92697eec00c29e6a1ab87224bfa27.tar.gz
Merge pull request #2831 from bjorng/bjorn/compiler/underscore/OTP-16981
Allow "underscore variables" to suppress all warnings
Diffstat (limited to 'system')
-rw-r--r--system/doc/reference_manual/expressions.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index 9747cc9a04..1a7dddb0b8 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -92,9 +92,9 @@ _Height</pre>
<pre>
[H|_] = [1,2,3]</pre>
<p>Variables starting with underscore (_), for example,
- <c>_Height</c>, are normal variables, not anonymous. They are
- however ignored by the compiler in the sense that they do not
- generate any warnings for unused variables.</p>
+ <c>_Height</c>, are normal variables, not anonymous. However,
+ they are ignored by the compiler in the sense that they do not
+ generate warnings.</p>
<p><em>Example:</em></p>
<p>The following code:</p>
<pre>