Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/Executor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public protocol SchedulingExecutor: Executor {
/// will not be executed before this time.
/// - tolerance: The maximum additional delay permissible before the
/// job is executed. `nil` means no limit.
/// - clock: The clock used for the delay..
/// - clock: The clock used for the delay.
@available(StdlibDeploymentTarget 6.2, *)
func enqueue<C: Clock>(_ job: consuming ExecutorJob,
at instant: C.Instant,
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/Concurrency/Task+PriorityEscalation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ extension UnsafeCurrentTask {
/// The handler will only trigger if a priority escalation occurs while the
/// operation is in progress.
///
/// If multiple task escalation handlers are nester they will all be triggered.
/// If multiple task escalation handlers are nested they will all be triggered.
///
/// Task escalation propagates through structured concurrency child-tasks.
///
Expand Down
4 changes: 2 additions & 2 deletions stdlib/public/Observation/Sources/Observation/Locking.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
//
//===----------------------------------------------------------------------===//

// NOTE: this cant use Synchronization because it is deployed before that was
// NOTE: this can't use Synchronization because it is deployed before that was
// introduced and availability wont let it be hidden behind an internal type.
// The Swift internal runtime locking cannot be used since that emits dependent
// symbols that are not provided by this library - so instead it has to re-implement
// symbols that are not provided by this library - so instead it has to re-implement
// all of this on its own...

#if canImport(Darwin.os.lock)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public struct ObservationRegistrar: Sendable {
///
/// You don't need to create an instance of
/// ``Observation/ObservationRegistrar`` when using the
/// ``Observation/Observable()`` macro to indicate observably
/// ``Observation/Observable()`` macro to indicate observability
/// of a type.
public init() {
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/core/EmbeddedRuntime.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public struct ClassMetadata {
└──────────────┴──────────────────────────────────────────────┘

If the highest bit (doNotFreeBit) is set, the behavior of dropping the last reference (release operation where
refcount ends up being 0) is altered to avoid calling free() on the object (deinit is still run). This is crutial for
refcount ends up being 0) is altered to avoid calling free() on the object (deinit is still run). This is crucial for
class instances that are promoted by the compiler from being heap-allocated to instead be located on the stack
(see swift_initStackObject).

Expand Down