Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update discussion of boxed protocol types [SE-0335] (#103)
- In the Protocols chapter, replace the discussion of existentials with a summary of the ways you can use a protocol as a type, linking forward to the full discussions of generics and existentials and opaque types. - Move the discussion of existentials from Protocols to Opaque Types, renaming that chapter to Opaque and Boxed Types. - Add a new Boxed Protocol Type section in the reference, to discuss the `any` keyword. Pitch thread: https://forums.swift.org/t/61665 Fixes: rdar://88208011
- Loading branch information
Showing
5 changed files
with
295 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.