We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6c8d63b + b91ab62 commit fce8f7cCopy full SHA for fce8f7c
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