File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ public enum Result<Success, Failure: Error> {
23
23
/// Evaluates the given closure when this `Result` instance is `.success`,
24
24
/// passing the success value as a parameter.
25
25
///
26
- /// Use the `map` method with a closure that returns a non-`Result` value.
27
- ///
28
26
/// - Parameter transform: A closure that takes the success value of the
29
27
/// instance.
30
28
/// - Returns: A `Result` instance with the result of evaluating the given
@@ -43,9 +41,6 @@ public enum Result<Success, Failure: Error> {
43
41
/// Evaluates the given closure when this `Result` instance is `.failure`,
44
42
/// passing the failure value as a parameter.
45
43
///
46
- /// Use the `mapError` method with a closure that returns a non-`Result`
47
- /// value.
48
- ///
49
44
/// - Parameter transform: A closure that takes the failure value of the
50
45
/// instance.
51
46
/// - Returns: A `Result` instance with the result of evaluating the given
You can’t perform that action at this time.
0 commit comments