mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
insert 'some' instead of an explicit type parameter. Replacing 'any' with 'some' allows the code to compile without further changes, such as naming an explicit type parameter, and is future-proofed for same-type requirements on primary associated types instead of needing additional logic to add a 'where' clause.
269 KiB
269 KiB