We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5abd9c7 + b91ab62 commit 61ff887Copy full SHA for 61ff887
src/libcore/pin.rs
@@ -109,7 +109,7 @@
109
//! assert_eq!(still_unmoved.slice, NonNull::from(&still_unmoved.data));
110
//!
111
//! // Since our type doesn't implement Unpin, this will fail to compile:
112
-//! // let new_unmoved = Unmovable::new("world".to_string());
+//! // let mut new_unmoved = Unmovable::new("world".to_string());
113
//! // std::mem::swap(&mut *still_unmoved, &mut *new_unmoved);
114
//! ```
115
0 commit comments