diff options
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/pin.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/pin.rs b/src/liballoc/pin.rs index 8cb57ade865..f7c804b2aba 100644 --- a/src/liballoc/pin.rs +++ b/src/liballoc/pin.rs @@ -77,6 +77,7 @@ //! // The pointer should point to the correct location, //! // so long as the struct hasn't moved. //! // Meanwhile, we are free to move the pointer around. +//! # #[allow(unused_mut)] //! let mut still_unmoved = unmoved; //! assert_eq!(still_unmoved.slice, NonNull::from(&still_unmoved.data)); //! |
