swiftlang / swift-book

The Swift Programming Language book
Apache License 2.0
1.76k stars 162 forks source link

missing example code in Concurrency:Sendable section #248

Closed hayne closed 10 months ago

hayne commented 10 months ago

Location

https://docs.swift.org/swift-book/documentation/the-swift-programming-language/concurrency

Description

At the end of the Sendable section, the following sentence appears:

"In the code above, the NonsendableTemperatureReading is a structure that meets the criteria to be implicitly sendable."

But there is no such code above.

Correction

No response

amartini51 commented 10 months ago

Thanks! This was fixed by PR #228 and merged into 'main', and will be corrected in the next update of TSPL.