We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f903b4 + c4690aa commit 84d376aCopy full SHA for 84d376a
stdlib/public/core/EitherSequence.swift
@@ -173,9 +173,9 @@ internal typealias _EitherRandomAccessCollection<
173
extension _EitherRandomAccessCollection: RandomAccessCollection { }
174
175
extension _Either {
176
- init<T, C: Collection>(
+ init<C: Collection>(
177
_ collection: C
178
- ) where Right == AnyCollection<T>, C.Element == T {
+ ) where Right == AnyCollection<C.Element> {
179
self = .right(AnyCollection(collection))
180
}
181
0 commit comments