summaryrefslogtreecommitdiff
path: root/docs/examples/maps.scala
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/maps.scala')
-rw-r--r--docs/examples/maps.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/maps.scala b/docs/examples/maps.scala
index 8b5158005b..1b5d41df54 100644
--- a/docs/examples/maps.scala
+++ b/docs/examples/maps.scala
@@ -157,7 +157,7 @@ object maps {
def month = m
def day = d
- def compareTo[b >: Date <% Ordered[b]](that: b): int = that match {
+ override def compare [b >: Date <% Ordered[b]](that: b): Int = that match {
case other: Date =>
if ((year == other.year) &&
(month == other.month) &&