diff options
| author | Matthew Kraai <kraai@ftbfs.org> | 2019-12-06 07:06:03 -0800 |
|---|---|---|
| committer | Matthew Kraai <kraai@ftbfs.org> | 2019-12-06 07:06:03 -0800 |
| commit | 0c4bc58cee1a6723d55f18b226bc46bfaefcbff3 (patch) | |
| tree | 01005fd2f3003ace25619c62d27fd079c7593306 | |
| parent | d0126e8ed3cc0d6fcb9dd44c36a46f9ce65010a0 (diff) | |
| download | rust-0c4bc58cee1a6723d55f18b226bc46bfaefcbff3.tar.gz rust-0c4bc58cee1a6723d55f18b226bc46bfaefcbff3.zip | |
Change "either" to "any" in Layout::from_size_align's docs
| -rw-r--r-- | src/libcore/alloc.rs | 2 |
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, |
