We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48742c6 commit 5e3a560Copy full SHA for 5e3a560
src/liballoc/boxed.rs
@@ -451,7 +451,7 @@ impl<T> From<T> for Box<T> {
451
}
452
453
#[stable(feature = "pin", since = "1.33.0")]
454
-impl<T> From<Box<T>> for Pin<Box<T>> {
+impl<T: ?Sized> From<Box<T>> for Pin<Box<T>> {
455
/// Converts a `Box<T>` into a `Pin<Box<T>>`
456
///
457
/// This conversion does not allocate on the heap and happens in place.
0 commit comments