Understating primary associated types in Swift 5.7

Collection is a protocol, it doesn’t (and can’t) have generic parameters. Protocols just have associated types, whether primary or not.

1 Like