Change "either" to "any" in Layout::from_size_align's docs
This commit is contained in:
parent
d0126e8ed3
commit
0c4bc58cee
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue