mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Move requirements out of abstracts.
Searched for "/// ..*Requires:" and did manual replacements. Patch by Alex Martini. Swift SVN r28465
This commit is contained in:
@@ -426,8 +426,9 @@ extension _ArrayBuffer {
|
||||
}
|
||||
|
||||
/// Call `body(p)`, where `p` is an `UnsafeMutableBufferPointer`
|
||||
/// over the underlying contiguous storage. Requires: such
|
||||
/// contiguous storage exists or the buffer is empty
|
||||
/// over the underlying contiguous storage.
|
||||
///
|
||||
/// Requires: such contiguous storage exists or the buffer is empty
|
||||
public mutating func withUnsafeMutableBufferPointer<R>(
|
||||
@noescape body: (UnsafeMutableBufferPointer<T>) -> R
|
||||
) -> R {
|
||||
|
||||
Reference in New Issue
Block a user