Skip to content

Commit d6b2d06

Browse files
committed
Fixes snippet
1 parent b59e689 commit d6b2d06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/FloatingPoint.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
/// let temperatureData = ["21.5", "19.25", "27", "no data", "28.25", "no data", "23"]
127127
/// let tempsCelsius = temperatureData.map { Double($0) ?? .nan }
128128
/// print(tempsCelsius)
129-
/// // Prints "[21.5, 19.25, 27, .nan, 28.25, .nan, 23.0]"
129+
/// // Prints "[21.5, 19.25, 27, nan, 28.25, nan, 23.0]"
130130
///
131131
///
132132
/// Note that some elements in the `temperatureData ` array are not valid

0 commit comments

Comments
 (0)