Skip to content

Commit

Permalink
[backport] Did not know of the fix for SI-8672. Followed the recommen…
Browse files Browse the repository at this point in the history
…dation given by som-snytt.

(cherry picked from commit ec4abf5)
  • Loading branch information
dgruntz authored and gourlaysama committed Aug 11, 2014
1 parent 9ef3d29 commit e54b772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/library/scala/concurrent/Future.scala
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ trait Future[+T] extends Awaitable[T] {

/* Callbacks */

/** When this future is completed successfully (i.e. with a value),
/** When this future is completed successfully (i.e., with a value),
* apply the provided partial function to the value if the partial function
* is defined at that value.
*
Expand All @@ -118,7 +118,7 @@ trait Future[+T] extends Awaitable[T] {
case _ =>
}

/** When this future is completed with a failure (i.e. with a throwable),
/** When this future is completed with a failure (i.e., with a throwable),
* apply the provided callback to the throwable.
*
* $caughtThrowables
Expand Down

0 comments on commit e54b772

Please sign in to comment.