Skip to content

Commit c53d71b

Browse files
committed
Fix typos
1 parent 8e96210 commit c53d71b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

stdlib/public/Concurrency/Executor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public protocol SchedulingExecutor: Executor {
9393
/// will not be executed before this time.
9494
/// - tolerance: The maximum additional delay permissible before the
9595
/// job is executed. `nil` means no limit.
96-
/// - clock: The clock used for the delay..
96+
/// - clock: The clock used for the delay.
9797
@available(StdlibDeploymentTarget 6.2, *)
9898
func enqueue<C: Clock>(_ job: consuming ExecutorJob,
9999
at instant: C.Instant,

stdlib/public/Concurrency/Task+PriorityEscalation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ extension UnsafeCurrentTask {
9494
/// The handler will only trigger if a priority escalation occurs while the
9595
/// operation is in progress.
9696
///
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.
9898
///
9999
/// Task escalation propagates through structured concurrency child-tasks.
100100
///

stdlib/public/Observation/Sources/Observation/Locking.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

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
1313
// introduced and availability wont let it be hidden behind an internal type.
1414
// 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
1616
// all of this on its own...
1717

1818
#if canImport(Darwin.os.lock)

stdlib/public/Observation/Sources/Observation/ObservationRegistrar.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public struct ObservationRegistrar: Sendable {
217217
///
218218
/// You don't need to create an instance of
219219
/// ``Observation/ObservationRegistrar`` when using the
220-
/// ``Observation/Observable()`` macro to indicate observably
220+
/// ``Observation/Observable()`` macro to indicate observability
221221
/// of a type.
222222
public init() {
223223
}

stdlib/public/core/EmbeddedRuntime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public struct ClassMetadata {
4848
└──────────────┴──────────────────────────────────────────────┘
4949

5050
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
5252
class instances that are promoted by the compiler from being heap-allocated to instead be located on the stack
5353
(see swift_initStackObject).
5454

0 commit comments

Comments
 (0)