Skip to content

Commit 4751399

Browse files
RalfJungoli-obk
andcommitted
Rename Value to Immediate in docs
Co-Authored-By: oli-obk <[email protected]>
1 parent 2ba4a8f commit 4751399

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
@@ -144,7 +144,7 @@ impl<'tcx, Tag> ScalarMaybeUndef<Tag> {
144144
/// primitive values (`ScalarPair`). It allows Miri to avoid making allocations for checked binary
145145
/// operations and fat pointers. This idea was taken from rustc's codegen.
146146
/// In particular, thanks to `ScalarPair`, arithmetic operations and casts can be entirely
147-
/// defined on `Value`, and do not have to work with a `Place`.
147+
/// defined on `Immediate`, and do not have to work with a `Place`.
148148
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
149149
pub enum Immediate<Tag=(), Id=AllocId> {
150150
Scalar(ScalarMaybeUndef<Tag, Id>),

0 commit comments

Comments
 (0)