about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-05-25 10:18:57 +0200
committerOliver Schneider <github35764891676564198441@oli-obk.de>2018-05-25 10:18:57 +0200
commiteceeb63d11b9ed0d3171dffbc19b23d8133db74c (patch)
tree039b36cceee0274e476d13b067112bb1299c198f
parentfb9060ac06868d076ac3116f8efabc9745cc599a (diff)
downloadrust-eceeb63d11b9ed0d3171dffbc19b23d8133db74c.tar.gz
rust-eceeb63d11b9ed0d3171dffbc19b23d8133db74c.zip
Update comment
-rw-r--r--src/librustc/mir/interpret/value.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/interpret/value.rs b/src/librustc/mir/interpret/value.rs
index b187743c81f..62536c45eb3 100644
--- a/src/librustc/mir/interpret/value.rs
+++ b/src/librustc/mir/interpret/value.rs
@@ -191,7 +191,7 @@ impl From<Pointer> for Scalar {
 pub enum Scalar {
     /// The raw bytes of a simple value.
     Bits {
-        /// number of bits that are valid and may be read
+        /// The first `defined` number of bits are valid
         defined: u8,
         bits: u128,
     },