]> git.lizzy.rs Git - rust.git/commitdiff
Change "either" to "any" in Layout::from_size_align's docs
authorMatthew Kraai <kraai@ftbfs.org>
Fri, 6 Dec 2019 15:06:03 +0000 (07:06 -0800)
committerMatthew Kraai <kraai@ftbfs.org>
Fri, 6 Dec 2019 15:06:03 +0000 (07:06 -0800)
src/libcore/alloc.rs

index 4798769823f436b254a57b097ef0ea8a15199821..cee9b4eebe66e0aa34b89b20069b5c080d0a710a 100644 (file)
@@ -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,