library/core/src/alloc/layout.rs
@@ -122,7 +122,7 @@ impl Layout {
122
///
123
/// # Safety
124
125
- /// This function is unsafe as it does not verify the preconditions from
+ /// The arguments passed must meet the preconditions from
126
/// [`Layout::from_size_align`].
127
#[stable(feature = "alloc_layout", since = "1.28.0")]
128
#[rustc_const_stable(feature = "const_alloc_layout_unchecked", since = "1.36.0")]
0 commit comments