Suggested small addition to Generics chapter

The “&” syntax for generic type parameters is quite useful, and it took me a little rooting around to find out the correct syntax, since the “where” keyword was used before Swift 3:

static func incrementHelper<T: Equatable & IncAndDecrementable> {

@chrisclark Thanks very much for your suggestion! You actually taught me something as well :slight_smile:

I will definitely forward your comment over to the “powers that be” :slight_smile:

All the best!

This topic was automatically closed after 166 days. New replies are no longer allowed.