Update library/core/src/alloc/layout.rs

Co-authored-by: David Tolnay <dtolnay@gmail.com>
This commit is contained in:
Joshua Liebow-Feeser 2023-10-12 16:03:45 -07:00 committed by GitHub
parent 25b81024a5
commit a9b0966aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ impl Layout {
/// The minimum byte alignment for a memory block of this layout.
///
/// The returned alignment is guaranteed to be a non-zero power of two.
/// The returned alignment is guaranteed to be a power of two.
#[stable(feature = "alloc_layout", since = "1.28.0")]
#[rustc_const_stable(feature = "const_alloc_layout_size_align", since = "1.50.0")]
#[must_use = "this returns the minimum alignment, \