mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
rangeOfCharacterFromSet(_:options:range:) The underlying Objective-C API could return an NSRange of NSNotFound. Swift's String.Index can not represent that, so change the API to return an optional Swift Range<Index> instead. Swift SVN r18679