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 8e9aad2 commit 6b47a61Copy full SHA for 6b47a61
src/liballoc/pin.rs
@@ -77,6 +77,7 @@
77
//! // The pointer should point to the correct location,
78
//! // so long as the struct hasn't moved.
79
//! // Meanwhile, we are free to move the pointer around.
80
+//! # #[allow(unused_mut)]
81
//! let mut still_unmoved = unmoved;
82
//! assert_eq!(still_unmoved.slice, NonNull::from(&still_unmoved.data));
83
//!
0 commit comments