Skip to content

Commit c67f08b

Browse files
committed
[stdlib][NFC] Remove obsolete note
1 parent cb2194c commit c67f08b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

stdlib/public/core/StringCharacterView.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -245,11 +245,6 @@ extension String: BidirectionalCollection {
245245
// Note: Prior to Swift 5.7, this function used to be inlinable, forwarding
246246
// to `BidirectionalCollection._distance(from:to:)`.
247247

248-
// FIXME: Due to the `index(after:)` problem above, this function doesn't
249-
// always return consistent results when the given indices fall between
250-
// grapheme breaks -- swapping `start` and `end` may change the magnitude of
251-
// the result.
252-
253248
let start = _guts.validateInclusiveCharacterIndex(start)
254249
let end = _guts.validateInclusiveCharacterIndex(end)
255250

0 commit comments

Comments
 (0)