Skip to content

Commit 752d9b2

Browse files
authored
Merge pull request #1839 from compnerd/conforming-conformances
Foundation: remove duplicated conformance (NFC)
2 parents b5bcba0 + 034638c commit 752d9b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSRange.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ extension NSRange {
258258
}
259259

260260
public init<R: RangeExpression, S: StringProtocol>(_ region: R, in target: S)
261-
where R.Bound == S.Index, S.Index == String.Index {
261+
where R.Bound == S.Index {
262262
let r = region.relative(to: target)
263263
self = NSRange(
264264
location: r.lowerBound.encodedOffset - target.startIndex.encodedOffset,

0 commit comments

Comments
 (0)