Skip to content

Commit

Permalink
Rollup merge of rust-lang#62371 - Nemo157:fix-62288, r=Centril
Browse files Browse the repository at this point in the history
Add tracking issue for Box::into_pin

Fixes rust-lang#62288
  • Loading branch information
Mark-Simulacrum authored Jul 4, 2019
2 parents 2461040 + 55bd214 commit 167429f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liballoc/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ impl<T: ?Sized> Box<T> {
/// This conversion does not allocate on the heap and happens in place.
///
/// This is also available via [`From`].
#[unstable(feature = "box_into_pin", issue = "0")]
#[unstable(feature = "box_into_pin", issue = "62370")]
pub fn into_pin(boxed: Box<T>) -> Pin<Box<T>> {
// It's not possible to move or replace the insides of a `Pin<Box<T>>`
// when `T: !Unpin`, so it's safe to pin it directly without any
Expand Down

0 comments on commit 167429f

Please sign in to comment.