File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ extension RangeReplaceableCollection {
45
45
/// container when each element is copied in O(1). Note that this might not
46
46
/// be true for certain C++ types, e.g. those with a custom copy
47
47
/// constructor that performs additional logic.
48
- public init < C: CxxConvertibleToCollection > ( _ c : C )
48
+ public init < C: CxxConvertibleToCollection > ( _ elements : C )
49
49
where C. RawIterator. Pointee == Element {
50
50
51
51
self . init ( )
52
- c . forEach { self . append ( $0) }
52
+ elements . forEach { self . append ( $0) }
53
53
}
54
54
}
55
55
@@ -62,10 +62,10 @@ extension SetAlgebra {
62
62
/// container when each element is copied in O(1). Note that this might not
63
63
/// be true for certain C++ types, e.g. those with a custom copy
64
64
/// constructor that performs additional logic.
65
- public init < C: CxxConvertibleToCollection > ( _ c : C )
65
+ public init < C: CxxConvertibleToCollection > ( _ elements : C )
66
66
where C. RawIterator. Pointee == Element {
67
67
68
68
self . init ( )
69
- c . forEach { self . insert ( $0) }
69
+ elements . forEach { self . insert ( $0) }
70
70
}
71
71
}
You can’t perform that action at this time.
0 commit comments