summaryrefslogtreecommitdiff
path: root/doc/reference/ReferencePart.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/ReferencePart.tex')
-rw-r--r--doc/reference/ReferencePart.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/ReferencePart.tex b/doc/reference/ReferencePart.tex
index 0887f72917..fcc2c4820f 100644
--- a/doc/reference/ReferencePart.tex
+++ b/doc/reference/ReferencePart.tex
@@ -1429,7 +1429,7 @@ function. That is, the argument is evaluated using {\em call-by-name}.
\begin{lstlisting}
def whileLoop (cond: => Boolean) (stat: => Unit): Unit
\end{lstlisting}
-indicates that both parameters of \code{while} are evaluated using
+indicates that both parameters of \code{whileLoop} are evaluated using
call-by-name.
The last value parameter of a parameter section may be suffixed by