diff options
author | Étienne Vallette d'Osia <dohzya@gmail.com> | 2012-04-17 19:32:12 +0300 |
---|---|---|
committer | Étienne Vallette d'Osia <dohzya@gmail.com> | 2012-04-17 19:32:12 +0300 |
commit | 80aaed000d877010bed54be76155e9034d9531b5 (patch) | |
tree | f904a004b51d09c17417fe3f4e6f3600f69313d8 | |
parent | e224518c92e3fc8d779848ad82ba1997dd10914e (diff) | |
download | scala-80aaed000d877010bed54be76155e9034d9531b5.tar.gz scala-80aaed000d877010bed54be76155e9034d9531b5.tar.bz2 scala-80aaed000d877010bed54be76155e9034d9531b5.zip |
Fix an potentially-disturbing error (typo?) in Either doc.
-rw-r--r-- | src/library/scala/Either.scala | 2 |
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) |