summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-12-04 17:09:11 +0000
committerpaltherr <paltherr@epfl.ch>2003-12-04 17:09:11 +0000
commit5e6295d2f18885b5620ad3cf1dcccaaf0bb5f3f2 (patch)
treec4708e8fae2b87e0e12f9bec600adbf82f4e6558
parentab08cd252b9bb04014d04133976e04ed3a616c0b (diff)
downloadscala-5e6295d2f18885b5620ad3cf1dcccaaf0bb5f3f2.tar.gz
scala-5e6295d2f18885b5620ad3cf1dcccaaf0bb5f3f2.tar.bz2
scala-5e6295d2f18885b5620ad3cf1dcccaaf0bb5f3f2.zip
- Fixed typo
-rw-r--r--doc/reference/ScalaByExample.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/ScalaByExample.tex b/doc/reference/ScalaByExample.tex
index 2e69f6e6f2..e15989d03b 100644
--- a/doc/reference/ScalaByExample.tex
+++ b/doc/reference/ScalaByExample.tex
@@ -2732,7 +2732,7 @@ val plus1: (int => int) = (x: int) => x + 1;
plus1(2)
\end{lstlisting}
This is expanded into the following object code.
-\begin{verbatim}
+\begin{lstlisting}
val plus1: Function1[int, int] = new Function1[int, int] {
def apply(x: int): int = x + 1
}