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 {
6767extension AsyncBufferSequence . Buffer {
6868 /// Access the raw bytes stored in this buffer
6969 /// - 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.
7574 public func withUnsafeBytes< ResultType> (
7675 _ body: ( UnsafeRawBufferPointer ) throws -> ResultType
7776 ) rethrows -> ResultType {
You can’t perform that action at this time.
0 commit comments