diff options
| author | Joshua Liebow-Feeser <joshlf@users.noreply.github.com> | 2023-10-12 16:03:45 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-12 16:03:45 -0700 |
| commit | a9b0966aa5593cf3419aae255b7ca8a85509e33e (patch) | |
| tree | eb459c9c37aed97aa6b6282c82d67046f6a77f5c | |
| parent | 25b81024a50647cc364cc1a7ab6aa000fef4b915 (diff) | |
| download | rust-a9b0966aa5593cf3419aae255b7ca8a85509e33e.tar.gz rust-a9b0966aa5593cf3419aae255b7ca8a85509e33e.zip | |
Update library/core/src/alloc/layout.rs
Co-authored-by: David Tolnay <dtolnay@gmail.com>
| -rw-r--r-- | library/core/src/alloc/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, \ |
