Rename Value to Immediate in docs

Co-Authored-By: oli-obk <github35764891676564198441@oli-obk.de>
This commit is contained in:
Ralf Jung 2018-11-02 12:51:26 +01:00 committed by Oliver Scherer
parent 2ba4a8f152
commit 475139997a

View File

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