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 c3fd65b commit 3683bf2Copy full SHA for 3683bf2
src/libcore/marker.rs
@@ -620,7 +620,8 @@ unsafe impl<'a, T: ?Sized> Freeze for &'a mut T {}
620
///
621
/// ```rust
622
/// #![feature(pin)]
623
-/// use std::mem::{PinMut, replace};
+/// use std::mem::replace;
624
+/// use std::pin::PinMut;
625
626
/// let mut string = "this".to_string();
627
/// let mut pinned_string = PinMut::new(&mut string);
0 commit comments