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
We need to find a way to implement Clone for Box<[T]> where T: Clone.
In user code, "cloning" such a box manually is simple: .to_vec().into_boxed_slice() will do it with a short roundtrip through Vec<T> which should be unproblematic.
In the rust distribution, we can't impl Clone easily since the tools to do so are in libcollections but the Box type lives in liballoc.