File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
import Foundation
2
2
3
3
extension IndexSet {
4
- public func apply( mutation: RangeMutation ) -> IndexSet {
4
+ public func apply( _ mutation: RangeMutation ) -> IndexSet {
5
5
let ranges = nsRangeView. compactMap { $0. apply ( mutation) }
6
6
7
7
return IndexSet ( ranges: ranges)
8
8
}
9
9
10
- public mutating func applying( mutation: RangeMutation ) {
11
- self = self . apply ( mutation: mutation )
10
+ public mutating func applying( _ mutation: RangeMutation ) {
11
+ self = self . apply ( mutation)
12
12
}
13
13
14
- public func apply( mutations: [ RangeMutation ] ) -> IndexSet {
14
+ public func apply( _ mutations: [ RangeMutation ] ) -> IndexSet {
15
15
var ranges = nsRangeView
16
16
17
17
for mutation in mutations {
@@ -21,7 +21,7 @@ extension IndexSet {
21
21
return IndexSet ( ranges: ranges)
22
22
}
23
23
24
- public mutating func applying( mutations: [ RangeMutation ] ) {
25
- self = self . apply ( mutations: mutations )
24
+ public mutating func applying( _ mutations: [ RangeMutation ] ) {
25
+ self = self . apply ( mutations)
26
26
}
27
27
}
You can’t perform that action at this time.
0 commit comments