I have a feeling I may regret asking this, but when a Swift type conforms to a protocol/has a super type, is there a space before the colon?

The auto-generated swift interfaces use a space. I have discovered that swift-syntax-generated output does not.

"Type: Inheritance" or "Type : Inheritance"

Comments