Open grynspan opened 1 week ago
Just FYI. From the current evolution status you would need to provide a scoped access to the RawSpan
and cannot return it from the method until we get something like yields -> RawSpan
to express that the span is borrowed.
I don't anticipate adoption until non-escaping types have matured further. 👍🏻
Once
RawSpan
is in the mix, we should replacewithUnsafeBufferPointer(for:_:)
with: