[Stdlib] Eliminate the _UnicodeEncoding_ protocol.

This protocol was only used to fake recursive protocol conformances;
collapse it into _UnicodeEncoding.
This commit is contained in:
Doug Gregor
2017-09-11 09:56:41 -07:00
parent 41ff0585fb
commit 3b47b16a47
3 changed files with 6 additions and 11 deletions

View File

@@ -43,7 +43,7 @@ extension Unicode {
/// scalar values.
public protocol _UnicodeParser {
/// The encoding with which this parser is associated
associatedtype Encoding : _UnicodeEncoding_
associatedtype Encoding : _UnicodeEncoding
/// Constructs an instance that can be used to begin parsing `CodeUnit`s at
/// any Unicode scalar boundary.