We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f22dca0 commit b91ab62Copy full SHA for b91ab62
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