summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/reference/ScalaReference.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/ScalaReference.tex b/doc/reference/ScalaReference.tex
index 7b3602d07b..3b908da764 100644
--- a/doc/reference/ScalaReference.tex
+++ b/doc/reference/ScalaReference.tex
@@ -877,7 +877,7 @@ When used in an expression, a value of type \code{byte}, \code{char},
If an expression $e$ has type $T$ where $T$ does not conform to the
expected type $pt$ and $T$ has a member named \lstinline@coerce@, then
the expression is typed and evaluated is if it was
-\listinline@$e$.coerce@.
+\lstinline@$e$.coerce@.
\chapter{Basic Declarations and Definitions}