about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDante Broggi <34220985+Dante-Broggi@users.noreply.github.com>2020-05-04 11:42:57 -0400
committerGitHub <noreply@github.com>2020-05-04 11:42:57 -0400
commit4a8fa189776e028d869a511962c13a2e0425025c (patch)
treea8eddf2835dfb3699111af548dae191f2ad586a4
parent6318d24ad8440fa30428b405be1174478e9536e3 (diff)
downloadrust-4a8fa189776e028d869a511962c13a2e0425025c.tar.gz
rust-4a8fa189776e028d869a511962c13a2e0425025c.zip
add a missing word
-rw-r--r--src/librustc_middle/ty/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_middle/ty/layout.rs b/src/librustc_middle/ty/layout.rs
index 4cdcd5320e7..ade89ab39d4 100644
--- a/src/librustc_middle/ty/layout.rs
+++ b/src/librustc_middle/ty/layout.rs
@@ -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,