aboutsummaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/doc/programming_examples/funs.xmlsrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/doc/programming_examples/funs.xmlsrc b/system/doc/programming_examples/funs.xmlsrc
index 57b90ccf7c..d4c32bc854 100644
--- a/system/doc/programming_examples/funs.xmlsrc
+++ b/system/doc/programming_examples/funs.xmlsrc
@@ -190,7 +190,7 @@ print_list(File, List) ->
the following diagnostic:</p>
<code type="none">
./FileName.erl:Line: Warning: variable 'File'
- shadowed in 'lambda head'</code>
+ shadowed in 'fun'</code>
<p>This indicates that the variable <c>File</c>, which is defined
inside the fun, collides with the variable <c>File</c>, which is
defined outside the fun.</p>