@@ -736,17 +736,17 @@ public struct OpaquePointer : ... {
736
736
// Changes to this protocol affect `Array`, `ArraySlice`, `ContiguousArray` and
737
737
// other types.
738
738
public protocol RangeReplaceableCollection : ... {
739
- + public init(repeating: Element, count: Int)
739
+ + public init(repeating: Iterator. Element, count: Int)
740
740
741
741
- mutating func replaceRange<
742
742
+ mutating func replaceSubrange<
743
- C : CollectionType where C.Iterator.Element == Generator .Element
743
+ C : CollectionType where C.Iterator.Element == Iterator .Element
744
744
>(
745
745
subRange: Range<Int>, with newElements: C
746
746
)
747
747
748
- - mutating func insert(newElement: Element, atIndex i: Int)
749
- + mutating func insert(newElement: Element, at i: Int)
748
+ - mutating func insert(newElement: Iterator. Element, atIndex i: Int)
749
+ + mutating func insert(newElement: Iterator. Element, at i: Int)
750
750
751
751
- mutating func removeAtIndex(index: Int) -> Element
752
752
+ mutating func removeAt(index: Int) -> Element
@@ -777,7 +777,7 @@ public struct OpaquePointer : ... {
777
777
778
778
- public mutating func replaceRange<
779
779
+ mutating func replaceSubrange<
780
- C: CollectionType where C.Generator .Element == Character
780
+ C: CollectionType where C.Iterator .Element == Character
781
781
>(
782
782
subRange: Range<Index>, with newElements: C
783
783
)
@@ -863,9 +863,9 @@ public struct OpaquePointer : ... {
863
863
}
864
864
865
865
public func transcode<
866
- Input : GeneratorType ,
867
- InputEncoding : UnicodeCodecType ,
868
- OutputEncoding : UnicodeCodecType
866
+ Input : IteratorProtocol ,
867
+ InputEncoding : UnicodeCodec ,
868
+ OutputEncoding : UnicodeCodec
869
869
where InputEncoding.CodeUnit == Input.Element>(
870
870
inputEncoding: InputEncoding.Type, _ outputEncoding: OutputEncoding.Type,
871
871
_ input: Input, _ output: (OutputEncoding.CodeUnit) -> Void,
0 commit comments