Skip to content

Commit 60c3f94

Browse files
committed
Proposal #6: more API diffs
1 parent 5b4689e commit 60c3f94

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

proposals/0006-apply-api-guidelines-to-the-standard-library.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ implied.
107107
+public protocol Boolean { ... }
108108

109109
-public protocol SequenceType { ... }
110-
-public protocol Sequence { ... }
110+
+public protocol Sequence { ... }
111111

112112
-public protocol CollectionType : ... { ... }
113113
+public protocol Collection : ... { ... }
@@ -736,6 +736,8 @@ public struct OpaquePointer : ... {
736736
// Changes to this protocol affect `Array`, `ArraySlice`, `ContiguousArray` and
737737
// other types.
738738
public protocol RangeReplaceableCollection : ... {
739+
+ public init(repeating: Element, count: Int)
740+
739741
- mutating func replaceRange<
740742
+ mutating func replaceSubrange<
741743
C : CollectionType where C.Iterator.Element == Generator.Element

0 commit comments

Comments
 (0)