mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update standard library doc comments to Markdown
rdar://problem/20180478 Swift SVN r27726
This commit is contained in:
@@ -252,7 +252,7 @@ public struct _UnitTestArrayBuffer<T> : _ArrayBufferType {
|
||||
|
||||
#if _runtime(_ObjC)
|
||||
/// Convert to an NSArray.
|
||||
/// Precondition: T is bridged to Objective-C
|
||||
/// - precondition: T is bridged to Objective-C
|
||||
/// O(1).
|
||||
public func _asCocoaArray() -> _NSArrayCoreType {
|
||||
_sanityCheck(
|
||||
@@ -390,7 +390,7 @@ extension _UnitTestArrayBuffer : CollectionType {
|
||||
|
||||
/// Return a *generator* over the elements of this *sequence*.
|
||||
///
|
||||
/// Complexity: O(1)
|
||||
/// - complexity: O(1)
|
||||
public func generate() -> IndexingGenerator<_UnitTestArrayBuffer> {
|
||||
return IndexingGenerator(self)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user