We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 82e9762 + fa58c27 commit 432b55eCopy full SHA for 432b55e
src/libcore/pin.rs
@@ -188,7 +188,8 @@
188
//! you do not accidentally use `self`/`this` in a way that is in conflict with pinning.
189
//!
190
//! Moreover, if your type is `#[repr(packed)]`, the compiler will automatically
191
-//! move fields around to be able to drop them. As a consequence, you cannot use
+//! move fields around to be able to drop them. It might even do
192
+//! that for fields that happen to be sufficiently aligned. As a consequence, you cannot use
193
//! pinning with a `#[repr(packed)]` type.
194
195
//! # Projections and Structural Pinning
0 commit comments