File tree Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Expand file tree Collapse file tree 2 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -336,21 +336,6 @@ extension Task {
336
336
}
337
337
}
338
338
339
- /// Whether this (or its parents) have task local values.
340
- var hasLocalValues : Bool {
341
- get {
342
- ( bits & ( 1 << 27 ) ) != 0
343
- }
344
-
345
- set {
346
- if newValue {
347
- bits = bits | 1 << 27
348
- } else {
349
- bits = ( bits & ~ ( 1 << 27 ) )
350
- }
351
- }
352
- }
353
-
354
339
}
355
340
}
356
341
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ public enum Result<Success, Failure: Error> {
112
112
///
113
113
/// - Parameter transform: A closure that takes the success value of the
114
114
/// instance.
115
- /// - Returns: A `Result` instance with the result of evaluating `transform`
116
- /// as the new failure value if this instance represents a failure .
115
+ /// - Returns: A `Result` instance, either from the closure or the previous
116
+ /// `. failure` .
117
117
@inlinable
118
118
public func flatMap< NewSuccess> (
119
119
_ transform: ( Success ) -> Result < NewSuccess , Failure >
You can’t perform that action at this time.
0 commit comments