kodecocodes/swift-style-guide

same in Generics

Abysssea opened this issue · 2 comments

In Generics,
Preferred:
func write<Target: OutputStream>(to target: inout Target)
Not Preferred:
func write<Target: OutputStream>(to target: inout Target)

they are same.

That is different than what is in the guide, where the second target is not capitalized. The relevant part of the guideline is, "upper camel case names".

oh! Thanks a lot.