File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Observation/Sources/Observation Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public protocol SchedulingExecutor: Executor {
93
93
/// will not be executed before this time.
94
94
/// - tolerance: The maximum additional delay permissible before the
95
95
/// job is executed. `nil` means no limit.
96
- /// - clock: The clock used for the delay..
96
+ /// - clock: The clock used for the delay.
97
97
@available ( StdlibDeploymentTarget 6 . 2 , * )
98
98
func enqueue< C: Clock > ( _ job: consuming ExecutorJob ,
99
99
at instant: C . Instant ,
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ extension UnsafeCurrentTask {
94
94
/// The handler will only trigger if a priority escalation occurs while the
95
95
/// operation is in progress.
96
96
///
97
- /// If multiple task escalation handlers are nester they will all be triggered.
97
+ /// If multiple task escalation handlers are nested they will all be triggered.
98
98
///
99
99
/// Task escalation propagates through structured concurrency child-tasks.
100
100
///
Original file line number Diff line number Diff line change 9
9
//
10
10
//===----------------------------------------------------------------------===//
11
11
12
- // NOTE: this cant use Synchronization because it is deployed before that was
12
+ // NOTE: this can't use Synchronization because it is deployed before that was
13
13
// introduced and availability wont let it be hidden behind an internal type.
14
14
// The Swift internal runtime locking cannot be used since that emits dependent
15
- // symbols that are not provided by this library - so instead it has to re-implement
15
+ // symbols that are not provided by this library - so instead it has to re-implement
16
16
// all of this on its own...
17
17
18
18
#if canImport(Darwin.os.lock)
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ public struct ObservationRegistrar: Sendable {
217
217
///
218
218
/// You don't need to create an instance of
219
219
/// ``Observation/ObservationRegistrar`` when using the
220
- /// ``Observation/Observable()`` macro to indicate observably
220
+ /// ``Observation/Observable()`` macro to indicate observability
221
221
/// of a type.
222
222
public init ( ) {
223
223
}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public struct ClassMetadata {
48
48
└──────────────┴──────────────────────────────────────────────┘
49
49
50
50
If the highest bit (doNotFreeBit) is set, the behavior of dropping the last reference (release operation where
51
- refcount ends up being 0) is altered to avoid calling free() on the object (deinit is still run). This is crutial for
51
+ refcount ends up being 0) is altered to avoid calling free() on the object (deinit is still run). This is crucial for
52
52
class instances that are promoted by the compiler from being heap-allocated to instead be located on the stack
53
53
(see swift_initStackObject).
54
54
You can’t perform that action at this time.
0 commit comments