Skip to content

Commit

Permalink
Change "either" to "any" in Layout::from_size_align's docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kraai committed Dec 6, 2019
1 parent d0126e8 commit 0c4bc58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0c4bc58

Please sign in to comment.