mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Since samePosition(in:) now unconditionally returns optionals, String.UTF16View.Index.distance(to: String.UTF16View.Index) must accept an optional to keep some code working. Fixes <rdar://33307780>.
1.2 KiB
1.2 KiB