Skip to content

Commit 97da01f

Browse files
committed
Remove the last mention of Undef
1 parent c420531 commit 97da01f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/mir/interpret/value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use super::{EvalResult, Pointer, PointerArithmetic, Allocation};
99
/// matches Value's optimizations for easy conversions between these two types
1010
#[derive(Clone, Copy, Debug, Eq, PartialEq, PartialOrd, Ord, RustcEncodable, RustcDecodable, Hash)]
1111
pub enum ConstValue<'tcx> {
12-
/// Used only for types with layout::abi::Scalar ABI and ZSTs which use Scalar::Undef
12+
/// Used only for types with layout::abi::Scalar ABI and ZSTs which use Scalar::undef()
1313
Scalar(Scalar),
1414
/// Used only for types with layout::abi::ScalarPair
1515
ScalarPair(Scalar, Scalar),

0 commit comments

Comments
 (0)