You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As pointed out by @jhorstmann on #921 at #921 (comment),
Buffer::typed_data is marked unsafe and it is very similarMutableBuffer::typed_data_mut which is not marked as unsafe.
After some more research on #996, it seems like the most appropriate thing to do is to mark MutableBuffer::typed_data_mut so the rust type system can better match the semantics.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As pointed out by @jhorstmann on #921 at #921 (comment),
Buffer::typed_data
is markedunsafe
and it is very similarMutableBuffer::typed_data_mut
which is not marked as unsafe.After some more research on #996, it seems like the most appropriate thing to do is to mark
MutableBuffer::typed_data_mut
so the rust type system can better match the semantics.Describe the solution you'd like
unsafe
fromBuffer::typed_data
Additional context*
More details on #996
The text was updated successfully, but these errors were encountered: