From 80aaed000d877010bed54be76155e9034d9531b5 Mon Sep 17 00:00:00 2001 From: Étienne Vallette d'Osia Date: Tue, 17 Apr 2012 19:32:12 +0300 Subject: Fix an potentially-disturbing error (typo?) in Either doc. --- src/library/scala/Either.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library/scala/Either.scala b/src/library/scala/Either.scala index a5e1dc7fe7..20451600a9 100644 --- a/src/library/scala/Either.scala +++ b/src/library/scala/Either.scala @@ -261,7 +261,7 @@ object Either { * case ex => Left(ex) * } * - * // this will only be executed if interactWithDB returns a Some + * // this will only be executed if interactWithDB returns a Right * val report = * for (r <- interactWithDB(someQuery).right) yield generateReport(r) * if (report.isRight) -- cgit v1.2.3