about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthew Kraai <kraai@ftbfs.org>2019-12-06 07:06:03 -0800
committerMatthew Kraai <kraai@ftbfs.org>2019-12-06 07:06:03 -0800
commit0c4bc58cee1a6723d55f18b226bc46bfaefcbff3 (patch)
tree01005fd2f3003ace25619c62d27fd079c7593306 /src
parentd0126e8ed3cc0d6fcb9dd44c36a46f9ce65010a0 (diff)
downloadrust-0c4bc58cee1a6723d55f18b226bc46bfaefcbff3.tar.gz
rust-0c4bc58cee1a6723d55f18b226bc46bfaefcbff3.zip
Change "either" to "any" in Layout::from_size_align's docs
Diffstat (limited to 'src')
-rw-r--r--src/libcore/alloc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs
index 4798769823f..cee9b4eebe6 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,