Typo in online documentation

Greetings,

I hope this is the right place to mention this. I’m new to Swift, and I’m reading the online docs top to bottom. Just noticed this minor typo in the Memory Safety section (“it it” instead of “if it”):

”An access is atomic if it’s a call to an atomic operation on Atomic or AtomicLazyReference, or it it uses only C atomic operations; otherwise it’s nonatomic. For a list of C atomic functions, see the stdatomic(3) man page.”

– Brian

4 Likes

Thanks for spotting that! I made a PR to fix it. If you find more, feel free to submit one yourself or file an issue.

1 Like