Skip to content

Commit b92a5bd

Browse files
committed
Fix spelling and stray space.
1 parent d7ac212 commit b92a5bd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

stdlib/public/core/FloatingPointTypes.swift.gyb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ ${Availability(bits)}
9393
extension ${Self}: CustomStringConvertible {
9494
/// A textual representation of the value.
9595
///
96-
/// For all finite values, the value of this property is a string that can
97-
/// be converted back to an instance of ${Self} without rounding errors.
98-
/// That is, if `x` in a `${Self}`, then `${Self}(x.description) == x` is
99-
/// always true. For any NaN value, the property's value is "nan", and for
100-
/// positive and negative infinity its value is "inf" and "-inf".
96+
/// For all finite values, the value of this property is a string that can be
97+
/// converted back to an instance of ${Self} without rounding errors. That
98+
/// is, if `x` in a `${Self}`, then `${Self}(x.description) == x` is always
99+
/// true. For any NaN value, the property's value is "nan", and for positive
100+
/// and negative infinity its value is "inf" and "-inf".
101101
public var description: String {
102102
if isNaN {
103103
return "nan"
@@ -115,7 +115,7 @@ ${Availability(bits)}
115115
extension ${Self}: CustomDebugStringConvertible {
116116
/// A textual representation of the value, suitable for debugging.
117117
///
118-
/// This property has the same value as the `description` propyrty, except
118+
/// This property has the same value as the `description` property, except
119119
/// that NaN values are printed in an extended format.
120120
public var debugDescription: String {
121121
var (buffer, length) = _float${bits}ToString(self, debug: true)

0 commit comments

Comments
 (0)