summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/ExamplesPart.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/reference/ExamplesPart.tex b/doc/reference/ExamplesPart.tex
index 299d573af7..f065da8978 100644
--- a/doc/reference/ExamplesPart.tex
+++ b/doc/reference/ExamplesPart.tex
@@ -2370,7 +2370,7 @@ class EmptySet[a <: Ord[a]] extends Set[a] {
\begin{lstlisting}
class NonEmptySet[a <: Ord[a]]
- (elem:int, left: Set[a], right: Set[a]) extends Set[a] {
+ (elem:a, left: Set[a], right: Set[a]) extends Set[a] {
def contains(x: a): boolean =
if (x < elem) left contains x
else if (x > elem) right contains x