[stdlib] Adopt primary associated types in the stdlib

This commit is contained in:
Karoy Lorentey
2022-05-09 18:06:17 -07:00
parent 6a08f1498a
commit 7a7ebd8970
17 changed files with 31 additions and 30 deletions

View File

@@ -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.