Change "either" to "any" in Layout::from_size_align's docs

This commit is contained in:
Matthew Kraai
2019-12-06 07:06:03 -08:00
parent d0126e8ed3
commit 0c4bc58cee

View 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,