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
6 changes: 3 additions & 3 deletions stdlib/public/Concurrency/ExecutorAssertions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ extension Actor {
/// * In `-O` builds (the default for Xcode's Release configuration), stops
/// program execution.
///
/// - Note: This check is performed against the actor's serial executor,
/// meaning that / if another actor uses the same serial executor--by using
/// - Note: Because this check is performed against the actor's serial executor,
/// if another actor uses the same serial executor--by using
/// that actor's serial executor as its own ``Actor/unownedExecutor``--this
/// check will succeed , as from a concurrency safety perspective, the
/// check will succeed. From a concurrency safety perspective, the
/// serial executor guarantees mutual exclusion of those two actors.
///
/// - Parameters:
Expand Down
6 changes: 3 additions & 3 deletions stdlib/public/Distributed/DistributedAssertions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ extension DistributedActor {
/// * In `-O` builds (the default for Xcode's Release configuration), stops
/// program execution.
///
/// - Note: This check is performed against the actor's serial executor,
/// meaning that / if another actor uses the same serial executor--by using
/// - Note: Because this check is performed against the actor's serial executor,
/// if another actor uses the same serial executor--by using
/// that actor's serial executor as its own ``Actor/unownedExecutor``--this
/// check will succeed , as from a concurrency safety perspective, the
/// check will succeed. From a concurrency safety perspective, the
/// serial executor guarantees mutual exclusion of those two actors.
///
/// - Parameters:
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/core/Duration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ extension Duration {
return Duration(_high: highScaled + Int64(lowScaled.high), low: lowScaled.low)
}

/// Construct a `Duration` given a number of seconds nanoseconds as a
/// Construct a `Duration` given a number of nanoseconds as a
/// `Double` by converting the value into the closest attosecond scale value.
///
/// let d: Duration = .nanoseconds(382.9)
Expand Down
6 changes: 3 additions & 3 deletions stdlib/public/core/FloatingPointTypes.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def Availability(bits):

if Self == 'Float16':
SelfDocComment = '''\
/// A half-precision (16b), floating-point value type.
/// A half-precision (16-bit), floating-point value type.
///
/// On macOS, `Float16` is only available when targeting Apple silicon.
/// On other supported platforms, `Float16` is available for all
Expand All @@ -50,11 +50,11 @@ if Self == 'Float16':
/// arithmetic will be emulated by the swift compiler and runtime.'''
elif Self == 'Float':
SelfDocComment = '''\
/// A single-precision, floating-point value type.'''
/// A single-precision (32-bit), floating-point value type.'''

elif Self == 'Double':
SelfDocComment = '''\
/// A double-precision, floating-point value type.'''
/// A double-precision (64-bit), floating-point value type.'''

elif Self == 'Float80':
SelfDocComment = '''\
Expand Down