Skip to content

Commit ff652b8

Browse files
committed
Update outdated comment
1 parent f82256e commit ff652b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/eval_context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub struct Frame<'mir, 'tcx: 'mir> {
7676
/// `None` represents a local that is currently dead, while a live local
7777
/// can either directly contain `Scalar` or refer to some part of an `Allocation`.
7878
///
79-
/// Before being initialized, arguments are `Value::Scalar(Scalar::Undef)` and other locals are `None`.
79+
/// Before being initialized, arguments are `Value::Scalar(Scalar::undef())` and other locals are `None`.
8080
pub locals: IndexVec<mir::Local, Option<Value>>,
8181

8282
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)