Skip to content

Commit 0c4bc58

Browse files
committed
Change "either" to "any" in Layout::from_size_align's docs
1 parent d0126e8 commit 0c4bc58

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)