We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d94e06 commit 8b754fbCopy full SHA for 8b754fb
library/core/src/alloc/layout.rs
@@ -540,7 +540,8 @@ impl Layout {
540
)]
541
pub type LayoutErr = LayoutError;
542
543
-/// The parameters given to `Layout::from_size_align`
+/// The `LayoutError` is returned when the parameters given
544
+/// to `Layout::from_size_align`
545
/// or some other `Layout` constructor
546
/// do not satisfy its documented constraints.
547
#[stable(feature = "alloc_layout_error", since = "1.50.0")]
0 commit comments