Skip to content

Commit 3b154b5

Browse files
Remove labels
1 parent 89b4b84 commit 3b154b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
import Foundation
22

33
extension IndexSet {
4-
public func apply(mutation: RangeMutation) -> IndexSet {
4+
public func apply(_ mutation: RangeMutation) -> IndexSet {
55
let ranges = nsRangeView.compactMap { $0.apply(mutation) }
66

77
return IndexSet(ranges: ranges)
88
}
99

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)
1212
}
1313

14-
public func apply(mutations: [RangeMutation]) -> IndexSet {
14+
public func apply(_ mutations: [RangeMutation]) -> IndexSet {
1515
var ranges = nsRangeView
1616

1717
for mutation in mutations {
@@ -21,7 +21,7 @@ extension IndexSet {
2121
return IndexSet(ranges: ranges)
2222
}
2323

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)
2626
}
2727
}

0 commit comments

Comments
 (0)