We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent daa17a5 commit 48edabcCopy full SHA for 48edabc
Source/OpenLocationCode.swift
@@ -828,7 +828,7 @@ extension String {
828
let range = Range(uncheckedBounds: (lower: lower, upper: upper))
829
let start = index(startIndex, offsetBy: range.lowerBound)
830
let end = index(start, offsetBy: range.upperBound - range.lowerBound)
831
- return String(self[Range(start ..< end)])
+ return String(self[start ..< end])
832
}
833
834
/// Returns index of the first instance of the string, or -1 if not found.
0 commit comments