Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dd6dd70

Browse files
committedOct 10, 2024
Fixing rustDoc for LayoutError.
1 parent 36a90d7 commit dd6dd70

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎core/src/alloc/layout.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,8 @@ impl Layout {
540540
)]
541541
pub type LayoutErr = LayoutError;
542542

543-
/// The parameters given to `Layout::from_size_align`
543+
/// The `LayoutError` is returned when the parameters given
544+
/// to `Layout::from_size_align`
544545
/// or some other `Layout` constructor
545546
/// do not satisfy its documented constraints.
546547
#[stable(feature = "alloc_layout_error", since = "1.50.0")]

0 commit comments

Comments
 (0)
Failed to load comments.