sindresorhus / Defaults

💾 Swifty and modern UserDefaults
https://swiftpackageindex.com/sindresorhus/Defaults/documentation/defaults
MIT License
2k stars 120 forks source link

Simplify generics when targeting Swift 5.7? #100

Open sindresorhus opened 2 years ago

sindresorhus commented 2 years ago

There are some new generics features in Swift 5.7. When it's out, we should look into whether there are any things we could simplify with it or something we should adopt.

https://github.com/apple/swift/blob/main/CHANGELOG.md#swift-57