about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-05-05 01:49:46 +0200
committerGitHub <noreply@github.com>2020-05-05 01:49:46 +0200
commit4b0b6e357bc1bffef0bfafe96cd673a11cd564c4 (patch)
tree0c4a63db03e654f97af0b34dc23a4b118d084033
parentc1b2fd2121091df67d6a298f535b2db83e67dde5 (diff)
parent4a8fa189776e028d869a511962c13a2e0425025c (diff)
downloadrust-4b0b6e357bc1bffef0bfafe96cd673a11cd564c4.tar.gz
rust-4b0b6e357bc1bffef0bfafe96cd673a11cd564c4.zip
Rollup merge of #71883 - Dante-Broggi:patch-1, r=Dylan-DPC
add a missing "at" in a comment
-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,