File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1348,16 +1348,16 @@ extension Numeric {
1348
1348
///
1349
1349
/// Use the `init?(exactly:)` initializer to create a new instance after
1350
1350
/// checking whether the passed value is representable. Instead of trapping on
1351
- /// out-of-range values, using the failable `exact` initializer results in
1352
- /// `nil`.
1351
+ /// out-of-range values, using the failable `init?(exactly:)`
1352
+ /// initializer results in `nil`.
1353
1353
///
1354
1354
/// let x = Int16(exactly: 500)
1355
1355
/// // x == Optional(500)
1356
1356
///
1357
1357
/// let y = Int8(exactly: 500)
1358
1358
/// // y == nil
1359
1359
///
1360
- /// When converting floating-point values, the `init?(exact :)` initializer
1360
+ /// When converting floating-point values, the `init?(exactly :)` initializer
1361
1361
/// checks both that the passed value has no fractional part and that the
1362
1362
/// value is representable in the resulting type.
1363
1363
///
You can’t perform that action at this time.
0 commit comments