Skip to content

Commit 6d0d060

Browse files
authored
Merge pull request #26472 from atrick/doc-typo
2 parents 7a37830 + 0b3255f commit 6d0d060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/StandardLibraryProgrammersManual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Optionals can be unwrapped with `!`, which triggers a trap on nil. Alternatively
5252

5353
#### UnsafeBitCast and Casting References
5454

55-
In general `unsafeBitCast` should be avoided because it's correctness relies on subtle assumptions that will never be enforced, and it indicates a bug in Swift's type system that should be fixed. It's less bad for non-pointer trivial types. Pointer casting should go through one of the memory binding API instead as a last resort.
55+
In general `unsafeBitCast` should be avoided because its correctness relies on subtle assumptions that will never be enforced, and it indicates a bug in Swift's type system that should be fixed. It's less bad for non-pointer trivial types. Pointer casting should go through one of the memory binding API instead as a last resort.
5656

5757
Reference casting is more interesting. References casting can include converting to an Optional reference and converting from a class constrained existential.
5858

0 commit comments

Comments
 (0)