Skip to content

Commit 94de642

Browse files
authored
Merge pull request #84477 from amartini51/docs_cleanup
Fixes: rdar://115730302 Fixes: rdar://158722889
2 parents ea0e017 + 3ad3421 commit 94de642

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

stdlib/public/Concurrency/ExecutorAssertions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ extension Actor {
8181
/// * In `-O` builds (the default for Xcode's Release configuration), stops
8282
/// program execution.
8383
///
84-
/// - Note: This check is performed against the actor's serial executor,
85-
/// meaning that / if another actor uses the same serial executor--by using
84+
/// - Note: Because this check is performed against the actor's serial executor,
85+
/// if another actor uses the same serial executor--by using
8686
/// that actor's serial executor as its own ``Actor/unownedExecutor``--this
87-
/// check will succeed , as from a concurrency safety perspective, the
87+
/// check will succeed. From a concurrency safety perspective, the
8888
/// serial executor guarantees mutual exclusion of those two actors.
8989
///
9090
/// - Parameters:

stdlib/public/Distributed/DistributedAssertions.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ extension DistributedActor {
3030
/// * In `-O` builds (the default for Xcode's Release configuration), stops
3131
/// program execution.
3232
///
33-
/// - Note: This check is performed against the actor's serial executor,
34-
/// meaning that / if another actor uses the same serial executor--by using
33+
/// - Note: Because this check is performed against the actor's serial executor,
34+
/// if another actor uses the same serial executor--by using
3535
/// that actor's serial executor as its own ``Actor/unownedExecutor``--this
36-
/// check will succeed , as from a concurrency safety perspective, the
36+
/// check will succeed. From a concurrency safety perspective, the
3737
/// serial executor guarantees mutual exclusion of those two actors.
3838
///
3939
/// - Parameters:

stdlib/public/core/Duration.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ extension Duration {
251251
return Duration(_high: highScaled + Int64(lowScaled.high), low: lowScaled.low)
252252
}
253253

254-
/// Construct a `Duration` given a number of seconds nanoseconds as a
254+
/// Construct a `Duration` given a number of nanoseconds as a
255255
/// `Double` by converting the value into the closest attosecond scale value.
256256
///
257257
/// let d: Duration = .nanoseconds(382.9)

stdlib/public/core/FloatingPointTypes.swift.gyb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def Availability(bits):
4141

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

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

5959
elif Self == 'Float80':
6060
SelfDocComment = '''\

0 commit comments

Comments
 (0)