Skip to content

Commit db9fc0b

Browse files
committed
Fix a few contractions, per reference style guide.
1 parent 0b9ae84 commit db9fc0b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/public/core/FloatingPoint.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ public protocol FloatingPoint: SignedNumeric, Strideable, Hashable
416416
/// let x = -33.375
417417
/// // x.sign == .minus
418418
///
419-
/// Do not use this property to check whether a floating point value is
419+
/// Don't use this property to check whether a floating point value is
420420
/// negative. For a value `x`, the comparison `x.sign == .minus` is not
421421
/// necessarily the same as `x < 0`. In particular, `x.sign == .minus` if
422422
/// `x` is -0, and while `x < 0` is always `false` if `x` is NaN, `x.sign`
@@ -1147,7 +1147,7 @@ public protocol FloatingPoint: SignedNumeric, Strideable, Hashable
11471147
/// A Boolean value indicating whether the instance is subnormal.
11481148
///
11491149
/// A *subnormal* value is a nonzero number that has a lesser magnitude than
1150-
/// the smallest normal number. Subnormal values do not use the full
1150+
/// the smallest normal number. Subnormal values don't use the full
11511151
/// precision available to values of a type.
11521152
///
11531153
/// Zero is neither a normal nor a subnormal number. Subnormal numbers are
@@ -1157,7 +1157,7 @@ public protocol FloatingPoint: SignedNumeric, Strideable, Hashable
11571157

11581158
/// A Boolean value indicating whether the instance is infinite.
11591159
///
1160-
/// Note that `isFinite` and `isInfinite` do not form a dichotomy, because
1160+
/// Note that `isFinite` and `isInfinite` don't form a dichotomy, because
11611161
/// they are not total: If `x` is `NaN`, then both properties are `false`.
11621162
var isInfinite: Bool { get }
11631163

0 commit comments

Comments
 (0)