summaryrefslogtreecommitdiff
path: root/doc/reference/ScalaReference.tex
diff options
context:
space:
mode:
Diffstat (limited to 'doc/reference/ScalaReference.tex')
-rw-r--r--doc/reference/ScalaReference.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/ScalaReference.tex b/doc/reference/ScalaReference.tex
index d7298ca763..63be10f36d 100644
--- a/doc/reference/ScalaReference.tex
+++ b/doc/reference/ScalaReference.tex
@@ -2810,8 +2810,8 @@ the expression is the value of $e$ converted to type $T$.
| SimpleExpr ArgumentExpr `=' Expr
\end{lstlisting}
-The interpretation of assignment to a simple variable ~\lstinline@$x$
-= $e$@~ depends on the definition of $x$. If $x$ denotes a mutable
+The interpretation of assignment to a simple variable ~\lstinline@$x$ = $e$@~
+depends on the definition of $x$. If $x$ denotes a mutable
variable, then the assignment changes the current value of $x$ to be
the result of evaluating the expression $e$. The type of $e$ is
expected to conform to the type of $x$. If $x$ is a parameterless