diff options
author | paltherr <paltherr@epfl.ch> | 2003-11-27 16:21:47 +0000 |
---|---|---|
committer | paltherr <paltherr@epfl.ch> | 2003-11-27 16:21:47 +0000 |
commit | 8c48250df5e67bc11b051ca72ca42dc0509d98b1 (patch) | |
tree | 231ce1871ddd4985ed80fcb2c64762cd9687093b /doc/reference/ScalaReference.tex | |
parent | b72b96eacef48a87c94a0c3a64794533f3d22ddf (diff) | |
download | scala-8c48250df5e67bc11b051ca72ca42dc0509d98b1.tar.gz scala-8c48250df5e67bc11b051ca72ca42dc0509d98b1.tar.bz2 scala-8c48250df5e67bc11b051ca72ca42dc0509d98b1.zip |
- Fixed some typos
Diffstat (limited to 'doc/reference/ScalaReference.tex')
-rw-r--r-- | doc/reference/ScalaReference.tex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/reference/ScalaReference.tex b/doc/reference/ScalaReference.tex index 5e0fa75442..9b3c4096c7 100644 --- a/doc/reference/ScalaReference.tex +++ b/doc/reference/ScalaReference.tex @@ -964,11 +964,12 @@ The class definition ~\lstinline@case class X(), Y(n: int) extends Z@~ expands t \item The object definition ~\lstinline@case object Red, Green, Blue extends Color@~ expands to -\begin{\lstlisting} +\begin{lstlisting} case object Red extends Color; case object Green extends Color; case object Blue extends Color . -\end{lstisting} +\end{lstlisting} +\end{itemize} \section{Value Declarations and Definitions} \label{sec:valdef} @@ -1047,7 +1048,7 @@ val xs = x$\Dollar$._2; | id `:' Type `=' `_' \end{lstlisting} -A sequence of variable declarations \listinline@var x$_1$, ..., x$_n$: T@ +A sequence of variable declarations \lstinline@var x$_1$, ..., x$_n$: T@ is equivalent to |