File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,10 @@ extension AsyncBufferSequence.Buffer {
67
67
extension AsyncBufferSequence . Buffer {
68
68
/// Access the raw bytes stored in this buffer
69
69
/// - Parameter body: A closure with an `UnsafeRawBufferPointer` parameter that
70
- /// points to the contiguous storage for the type. If no such storage exists,
71
- /// the method creates it. If body has a return value, this method also returns
72
- /// that value. The argument is valid only for the duration of the
73
- /// closure’s SequenceOutput.
74
- /// - Returns: The return value, if any, of the body closure parameter.
70
+ /// points to the contiguous storage for the buffer. If no such storage exists,
71
+ /// the method creates it. The argument is valid only for the duration of the
72
+ /// closure's execution.
73
+ /// - Returns: The return value of the body closure.
75
74
public func withUnsafeBytes< ResultType> (
76
75
_ body: ( UnsafeRawBufferPointer ) throws -> ResultType
77
76
) rethrows -> ResultType {
You can’t perform that action at this time.
0 commit comments