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
Currently, the vec! macro effectively requires that the allocator always be Global when using the vec![in Alloc; 1, 2, 3] form, because it ends up calling Box::<[_]>::into_vec() (which is Box::<[_], Global>::into_vec()) instead of Box::<[_], _>::into_vec().
The text was updated successfully, but these errors were encountered:
Currently, the
vec!
macro effectively requires that the allocator always beGlobal
when using thevec![in Alloc; 1, 2, 3]
form, because it ends up callingBox::<[_]>::into_vec()
(which isBox::<[_], Global>::into_vec()
) instead ofBox::<[_], _>::into_vec()
.The text was updated successfully, but these errors were encountered: