The Box API docs suggest differently, with a T: ?Sized bound on the struct definition, and no other bounds on the impl block or the Box::new() method.
The Box API docs suggest differently, with a T: ?Sized bound on the struct definition, and no other bounds on the impl block or the Box::new() method.