If a generic function has a default value for a type parameter, Swift can infer ...
Paul Hudson @twostraws@mastodon.social
If a generic function has a default value for a type parameter, Swift can infer the type from that default rather than requiring you to spell it out every time. Subtle, but it removes a whole category of unnecessary verbosity. https://www.hackingwithswift.com/swift/5.7/default-type-inference