Skip to content

Commit

Permalink
Fix an incorrect docstring for Immediate in librustc_mir/interpret.
Browse files Browse the repository at this point in the history
  • Loading branch information
vext01 committed Oct 30, 2019
1 parent 0b7e28a commit 1a8677a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/operand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use super::{
};
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
Expand Down

0 comments on commit 1a8677a

Please sign in to comment.