Fixing rustDoc for LayoutError.
This commit is contained in:
parent
8d94e06ec9
commit
8b754fbb4f
@ -540,7 +540,8 @@ impl Layout {
|
|||||||
)]
|
)]
|
||||||
pub type LayoutErr = LayoutError;
|
pub type LayoutErr = LayoutError;
|
||||||
|
|
||||||
/// The parameters given to `Layout::from_size_align`
|
/// The `LayoutError` is returned when the parameters given
|
||||||
|
/// to `Layout::from_size_align`
|
||||||
/// or some other `Layout` constructor
|
/// or some other `Layout` constructor
|
||||||
/// do not satisfy its documented constraints.
|
/// do not satisfy its documented constraints.
|
||||||
#[stable(feature = "alloc_layout_error", since = "1.50.0")]
|
#[stable(feature = "alloc_layout_error", since = "1.50.0")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user