about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Schneider <github35764891676564198441@oli-obk.de>2018-05-24 10:09:52 +0200
committerOliver Schneider <github35764891676564198441@oli-obk.de>2018-05-24 20:49:38 +0200
commit97da01f8ad5e8b313e6ad9f2f07dee96ef2ac6d7 (patch)
tree3d03906b4bc674cbe0ae6774f8d7bec631acb5ef
parentc420531304c1f02561bae5498d80447097ad5e75 (diff)
downloadrust-97da01f8ad5e8b313e6ad9f2f07dee96ef2ac6d7.tar.gz
rust-97da01f8ad5e8b313e6ad9f2f07dee96ef2ac6d7.zip
Remove the last mention of `Undef`
-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 6f82b38e2eb..b187743c81f 100644
--- a/src/librustc/mir/interpret/value.rs
+++ b/src/librustc/mir/interpret/value.rs
@@ -9,7 +9,7 @@ use super::{EvalResult, Pointer, PointerArithmetic, Allocation};
 /// matches Value's optimizations for easy conversions between these two types
 #[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord, RustcEncodable, RustcDecodable, Hash)]
 pub enum ConstValue<'tcx> {
-    /// Used only for types with layout::abi::Scalar ABI and ZSTs which use Scalar::Undef
+    /// Used only for types with layout::abi::Scalar ABI and ZSTs which use Scalar::undef()
     Scalar(Scalar),
     /// Used only for types with layout::abi::ScalarPair
     ScalarPair(Scalar, Scalar),