Improve comments in String.swift

This commit is contained in:
Dmitri Gribenko
2015-11-04 16:46:26 -08:00
committed by Max Moiseev
parent 9ca2775aa1
commit e5dba78263
5 changed files with 24 additions and 18 deletions

View File

@@ -129,8 +129,7 @@ extension String {
}
}
/// Access the elements delimited by the given half-open range of
/// indices.
/// Access the contiguous subrange of elements enclosed by `bounds`.
///
/// - Complexity: O(1) unless bridging from Objective-C requires an
/// O(N) conversion.