Skip to content

Commit a774271

Browse files
glessardiCharlesHu
authored andcommitted
Update Sources/Subprocess/Buffer.swift
1 parent 0712fdb commit a774271

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Subprocess/Buffer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ extension AsyncBufferSequence.Buffer {
117117
let span = RawSpan(_unsafeElements: ptr)
118118
return _overrideLifetime(of: span, to: self)
119119
case .array(let array):
120-
let span = array.bytes
120+
let span = array.span.bytes
121121
return _overrideLifetime(of: span, to: self)
122122
}
123123
}

0 commit comments

Comments
 (0)