Fixing rustDoc for LayoutError. · qinheping/verify-rust-std@dd6dd70 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit dd6dd70

Fixing rustDoc for LayoutError.

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 2 additions & 1 deletion

Original file line number Diff line number Diff line change
@@ -540,7 +540,8 @@ impl Layout {
540 540 )]
541 541 pub type LayoutErr = LayoutError;
542 542
543 -/// The parameters given to `Layout::from_size_align`
543 +/// The `LayoutError` is returned when the parameters given
544 +/// to `Layout::from_size_align`
544 545 /// or some other `Layout` constructor
545 546 /// do not satisfy its documented constraints.
546 547 #[stable(feature = "alloc_layout_error", since = "1.50.0")]