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
Replace casts of slices (unsized types) with slice::from_raw_parts[_mut]().
libcore/libstd is allowed to make assumptions avoid the validity about casts
that extern code in general cannot. In particular it isn't clear that casting
`[T]` to `[MaybeUninit<T>]` or vice-versa is guaranteed to be sound. Avoid the
issue by using an alternative to casts.
0 commit comments