Skip to content

Commit c2f93ff

Browse files
author
Dave Abrahams
committed
Remove associated type from AnyUnicode
That prevents it from acting existentially!
1 parent 3767f2d commit c2f93ff

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

stdlib/public/core/Unicode2.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@ public protocol AnyUnicodeEncoding {
4646
/// The maximum number of code units in an encoded unicoded scalar value
4747
static var maxLengthOfEncodedScalar: UInt { get }
4848

49-
/// A type that can represent a single UnicodeScalar as it is encoded in this
50-
/// encoding.
51-
associatedtype EncodedScalar : EncodedScalarProtocol
52-
// where Iterator.Element : UnsignedInteger
53-
5449
// FIXME: do we even want these single-scalar parse methods on the thing
5550
// that's going to be used with type erasure? You pretty much want to be
5651
// doing bulk-stuff behind the type erasure boundary, so things like

0 commit comments

Comments
 (0)