Skip to content

Commit c739498

Browse files
committed
Remove usage lines from docs.
1 parent e4a700c commit c739498

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

stdlib/public/core/Result.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ public enum Result<Success, Failure: Error> {
2323
/// Evaluates the given closure when this `Result` instance is `.success`,
2424
/// passing the success value as a parameter.
2525
///
26-
/// Use the `map` method with a closure that returns a non-`Result` value.
27-
///
2826
/// - Parameter transform: A closure that takes the success value of the
2927
/// instance.
3028
/// - Returns: A `Result` instance with the result of evaluating the given
@@ -43,9 +41,6 @@ public enum Result<Success, Failure: Error> {
4341
/// Evaluates the given closure when this `Result` instance is `.failure`,
4442
/// passing the failure value as a parameter.
4543
///
46-
/// Use the `mapError` method with a closure that returns a non-`Result`
47-
/// value.
48-
///
4944
/// - Parameter transform: A closure that takes the failure value of the
5045
/// instance.
5146
/// - Returns: A `Result` instance with the result of evaluating the given

0 commit comments

Comments
 (0)