Skip to content

Commit 573e537

Browse files
authored
Rollup merge of #67090 - kraai:either-to-any, r=jonas-schievink
Change "either" to "any" in Layout::from_size_align's docs
2 parents 18a79e0 + 0c4bc58 commit 573e537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/alloc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub struct Layout {
5353

5454
impl Layout {
5555
/// Constructs a `Layout` from a given `size` and `align`,
56-
/// or returns `LayoutErr` if either of the following conditions
56+
/// or returns `LayoutErr` if any of the following conditions
5757
/// are not met:
5858
///
5959
/// * `align` must not be zero,

0 commit comments

Comments
 (0)