Change "wth" to "with" in Layout::padding_needed_for
comment
This commit is contained in:
parent
a3c85770fb
commit
292b998c64
@ -196,7 +196,7 @@ impl Layout {
|
||||
// valid.
|
||||
//
|
||||
// 2. `len + align - 1` can overflow by at most `align - 1`,
|
||||
// so the &-mask wth `!(align - 1)` will ensure that in the
|
||||
// so the &-mask with `!(align - 1)` will ensure that in the
|
||||
// case of overflow, `len_rounded_up` will itself be 0.
|
||||
// Thus the returned padding, when added to `len`, yields 0,
|
||||
// which trivially satisfies the alignment `align`.
|
||||
|
Loading…
Reference in New Issue
Block a user