about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2020-11-04 15:13:06 +0100
committerGitHub <noreply@github.com>2020-11-04 15:13:06 +0100
commit332750f9ebea6ff8a20b020772b60ccac637982e (patch)
treeb9af35830ecceb3adf32bdb8df40e177df95dd7f
parent5f087f089f03c648527ac77a32bcb202c981bb57 (diff)
Update compiler/rustc_target/src/abi/mod.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
-rw-r--r--compiler/rustc_target/src/abi/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_target/src/abi/mod.rs b/compiler/rustc_target/src/abi/mod.rs
index 55ace982d72..d3c31773c1e 100644
--- a/compiler/rustc_target/src/abi/mod.rs
+++ b/compiler/rustc_target/src/abi/mod.rs
@@ -307,7 +307,7 @@ impl Size {
         if bytes < dl.obj_size_bound() { Some(Size::from_bytes(bytes)) } else { None }
     }
 
-    /// Truncates `value` to `self` bits and then sign-extend it to 128 bits
+    /// Truncates `value` to `self` bits and then sign-extends it to 128 bits
     /// (i.e., if it is negative, fill with 1's on the left).
     #[inline]
     pub fn sign_extend(self, value: u128) -> u128 {