Skip to content

Commit 60fa6d8

Browse files
authored
Rollup merge of #65959 - vext01:immediate-docstring, r=davidtwco
Fix an incorrect docstring for Immediate in librustc_mir/interpret. I suspect `Immediate` was once called `Value`?
2 parents ce64b17 + 1a8677a commit 60fa6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/operand.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use super::{
1919
};
2020
pub use rustc::mir::interpret::ScalarMaybeUndef;
2121

22-
/// A `Value` represents a single immediate self-contained Rust value.
22+
/// An `Immediate` represents a single immediate self-contained Rust value.
2323
///
2424
/// For optimization of a few very common cases, there is also a representation for a pair of
2525
/// primitive values (`ScalarPair`). It allows Miri to avoid making allocations for checked binary

0 commit comments

Comments
 (0)