From 1a8677ae1aa9202a3529078d87073fe052eb3ec6 Mon Sep 17 00:00:00 2001 From: Edd Barrett Date: Wed, 30 Oct 2019 10:03:41 +0000 Subject: [PATCH] Fix an incorrect docstring for Immediate in librustc_mir/interpret. --- src/librustc_mir/interpret/operand.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_mir/interpret/operand.rs b/src/librustc_mir/interpret/operand.rs index 4fd5e6a5435..ae23971849e 100644 --- a/src/librustc_mir/interpret/operand.rs +++ b/src/librustc_mir/interpret/operand.rs @@ -19,7 +19,7 @@ }; pub use rustc::mir::interpret::ScalarMaybeUndef; -/// A `Value` represents a single immediate self-contained Rust value. +/// An `Immediate` represents a single immediate self-contained Rust value. /// /// For optimization of a few very common cases, there is also a representation for a pair of /// primitive values (`ScalarPair`). It allows Miri to avoid making allocations for checked binary -- 2.44.0