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.
1 parent 55da916 commit 551a691Copy full SHA for 551a691
test/Prototypes/UnicodeDecoders.swift
@@ -39,7 +39,7 @@ extension Unicode {
39
struct DefaultScalarView<
40
CodeUnits: BidirectionalCollection,
41
Encoding: Unicode.Encoding
42
- > where CodeUnits.Iterator.Element == Encoding.CodeUnit {
+ > where CodeUnits.Element == Encoding.CodeUnit {
43
var codeUnits: CodeUnits
44
init(
45
_ codeUnits: CodeUnits,
@@ -240,7 +240,7 @@ func checkDecodeUTF<Codec : UnicodeCodec & Unicode.Encoding>(
240
var result = assertionSuccess()
241
242
func check<C: Collection>(_ expected: C, _ description: String)
243
- where C.Iterator.Element == UInt32
+ where C.Element == UInt32
244
{
245
if !expected.elementsEqual(decoded) {
246
if result.description == "" { result = assertionFailure() }
0 commit comments