Rollup merge of #67090 - kraai:either-to-any, r=jonas-schievink
Change "either" to "any" in Layout::from_size_align's docs
This commit is contained in:
commit
573e537db5
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