From a9b0966aa5593cf3419aae255b7ca8a85509e33e Mon Sep 17 00:00:00 2001 From: Joshua Liebow-Feeser Date: Thu, 12 Oct 2023 16:03:45 -0700 Subject: [PATCH] Update library/core/src/alloc/layout.rs Co-authored-by: David Tolnay --- library/core/src/alloc/layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/alloc/layout.rs b/library/core/src/alloc/layout.rs index dcfb42759f3..65946e09ff9 100644 --- a/library/core/src/alloc/layout.rs +++ b/library/core/src/alloc/layout.rs @@ -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, \