Skip to content

Commit c169bd1

Browse files
author
Cristian Popovici
committed
fixes Copy-paste in flatMap comment
1 parent 41daa2a commit c169bd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/util/retry/blocking/Retry.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import scala.util.control.NonFatal
2929
*/
3030
sealed trait Retry[+T] {
3131
/**
32-
* Returns `true` if the `Retry` is a `Failure` otherwise it returns `false`.
33-
*/
32+
* Returns the result by mapping f to the current value of Success or a Failure if the result is Failure
33+
*/
3434
def flatMap[S](f: T => Retry[S]): Retry[S]
3535

3636
/**

0 commit comments

Comments
 (0)