From 0c4bc58cee1a6723d55f18b226bc46bfaefcbff3 Mon Sep 17 00:00:00 2001 From: Matthew Kraai Date: Fri, 6 Dec 2019 07:06:03 -0800 Subject: [PATCH] Change "either" to "any" in Layout::from_size_align's docs --- src/libcore/alloc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index 4798769823f43..cee9b4eebe66e 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -53,7 +53,7 @@ pub struct Layout { impl Layout { /// Constructs a `Layout` from a given `size` and `align`, - /// or returns `LayoutErr` if either of the following conditions + /// or returns `LayoutErr` if any of the following conditions /// are not met: /// /// * `align` must not be zero,