mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
stdlib: update references to 'isEmpty' in comments
Swift SVN r30954
This commit is contained in:
@@ -274,7 +274,7 @@ extension String.UnicodeScalarView : RangeReplaceableCollectionType {
|
||||
/// Invalidates all indices with respect to `self`.
|
||||
///
|
||||
/// - Complexity: O(`subRange.count`) if `subRange.endIndex
|
||||
/// == self.endIndex` and `isEmpty(newElements)`, O(N) otherwise.
|
||||
/// == self.endIndex` and `newElements.isEmpty`, O(N) otherwise.
|
||||
public mutating func replaceRange<
|
||||
C: CollectionType where C.Generator.Element == UnicodeScalar
|
||||
>(
|
||||
|
||||
Reference in New Issue
Block a user