summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/library/scala/Either.scala2
1 files changed, 1 insertions, 1 deletions
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)