Skip to content

Commit

Permalink
Rollup merge of rust-lang#71883 - Dante-Broggi:patch-1, r=Dylan-DPC
Browse files Browse the repository at this point in the history
add a missing "at" in a comment
  • Loading branch information
Dylan-DPC committed May 4, 2020
2 parents 49190c4 + 4a8fa18 commit defe3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_middle/ty/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2607,7 +2607,7 @@ where

// `Box` (`UniqueBorrowed`) are not necessarily dereferenceable
// for the entire duration of the function as they can be deallocated
// any time. Set their valid size to 0.
// at any time. Set their valid size to 0.
attrs.pointee_size = match kind {
PointerKind::UniqueOwned => Size::ZERO,
_ => pointee.size,
Expand Down

0 comments on commit defe3d2

Please sign in to comment.