Fixing rustDoc for LayoutError. · qinheping/verify-rust-std@dd6dd70 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit dd6dd70
Fixing rustDoc for LayoutError.
File tree
1 file changed
lines changed
1 file changed
lines changed
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")] |