mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Adopt primary associated types in the stdlib
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
/// // Must be equivalent to:
|
||||
/// a[i] = x
|
||||
/// let y = x
|
||||
public protocol MutableCollection: Collection
|
||||
public protocol MutableCollection<Element>: Collection
|
||||
where SubSequence: MutableCollection
|
||||
{
|
||||
// FIXME: Associated type inference requires these.
|
||||
|
||||
Reference in New Issue
Block a user