Registry Mirror
Skip to content

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl Layout {
122122
///
123123
/// # Safety
124124
///
125-
/// This function is unsafe as it does not verify the preconditions from
125+
/// The arguments passed must meet the preconditions from
126126
/// [`Layout::from_size_align`].
127127
#[stable(feature = "alloc_layout", since = "1.28.0")]
128128
#[rustc_const_stable(feature = "const_alloc_layout_unchecked", since = "1.36.0")]

0 commit comments

Comments
 (0)