summaryrefslogtreecommitdiff
path: root/src/library/scala/util/Try.scala
diff options
context:
space:
mode:
authorJanek Bogucki <janekdb@gmail.com>2015-06-16 19:04:42 +0100
committerJanek Bogucki <janekdb@gmail.com>2015-06-16 20:51:42 +0100
commitfea652827dbef0b49893bb438205204019f00554 (patch)
tree05cc527ed782dde0094c1dd4e71a74a9823b302a /src/library/scala/util/Try.scala
parent6b09c66b8e982c84f8183a9c00e2d3a43455c2ac (diff)
downloadscala-fea652827dbef0b49893bb438205204019f00554.tar.gz
scala-fea652827dbef0b49893bb438205204019f00554.tar.bz2
scala-fea652827dbef0b49893bb438205204019f00554.zip
Improve API documentation for ListBuffer and Try
Diffstat (limited to 'src/library/scala/util/Try.scala')
-rw-r--r--src/library/scala/util/Try.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/util/Try.scala b/src/library/scala/util/Try.scala
index 0a6a7972c2..b0eae74043 100644
--- a/src/library/scala/util/Try.scala
+++ b/src/library/scala/util/Try.scala
@@ -48,7 +48,7 @@ import scala.language.implicitConversions
* catching exceptions along the way. The `flatMap` and `map` combinators in the above example each essentially
* pass off either their successfully completed value, wrapped in the `Success` type for it to be further operated
* upon by the next combinator in the chain, or the exception wrapped in the `Failure` type usually to be simply
- * passed on down the chain. Combinators such as `rescue` and `recover` are designed to provide some type of
+ * passed on down the chain. Combinators such as `recover` and `recoverWith` are designed to provide some type of
* default behavior in the case of failure.
*
* ''Note'': only non-fatal exceptions are caught by the combinators on `Try` (see [[scala.util.control.NonFatal]]).