We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 794d64c + 8b754fb commit 4e91dd2Copy full SHA for 4e91dd2
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