mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] Clarify an oft-repeated doc comment
Thanks, Dmitri! Swift SVN r26512
This commit is contained in:
@@ -501,7 +501,7 @@ public func += <
|
||||
extension _ContiguousArrayBuffer : CollectionType {
|
||||
/// The position of the first element in a non-empty collection.
|
||||
///
|
||||
/// Identical to `endIndex` in an empty collection.
|
||||
/// In an empty collection, `startIndex == endIndex`.
|
||||
public var startIndex: Int {
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user