1
Fork 0

remove confusing remark

This commit is contained in:
Ralf Jung 2019-08-08 21:02:11 +02:00
parent e82b053f56
commit fa58c27830

View file

@ -188,7 +188,7 @@
//! you do not accidentally use `self`/`this` in a way that is in conflict with pinning. //! you do not accidentally use `self`/`this` in a way that is in conflict with pinning.
//! //!
//! Moreover, if your type is `#[repr(packed)]`, the compiler will automatically //! Moreover, if your type is `#[repr(packed)]`, the compiler will automatically
//! move fields around to be able to drop them. In a packed struct, it might even do //! move fields around to be able to drop them. It might even do
//! that for fields that happen to be sufficiently aligned. As a consequence, you cannot use //! that for fields that happen to be sufficiently aligned. As a consequence, you cannot use
//! pinning with a `#[repr(packed)]` type. //! pinning with a `#[repr(packed)]` type.
//! //!