Skip to content

Commit

Permalink
Update library/core/src/alloc/layout.rs
Browse files Browse the repository at this point in the history
Co-authored-by: David Tolnay <dtolnay@gmail.com>
  • Loading branch information
joshlf and dtolnay authored Oct 12, 2023
1 parent 25b8102 commit a9b0966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/alloc/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand Down

0 comments on commit a9b0966

Please sign in to comment.