https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html
protoFlip(protoFlip(smallTriange))
where smallTriange
is apparently a typo and should be changed to smallTriangle
https://docs.swift.org/swift-book/LanguageGuide/OpaqueTypes.html
protoFlip(protoFlip(smallTriange))
where smallTriange
is apparently a typo and should be changed to smallTriangle
This typo was fixed (28 days ago) by pull request apple/swift-book#52. However, the docs website might not be updated until next year's Swift 5.8 release?
@naco-siren Thanks for calling out this typo. Much better to see it reported twice than for it to not get fixed.
@benrimmington That's correct — we publish updates to "The Swift Programming Language" in sync with updates to Swift. This typo fix will be included in the next update.