Skip to content

Commit

Permalink
Rollup merge of rust-lang#65959 - vext01:immediate-docstring, r=david…
Browse files Browse the repository at this point in the history
…twco

Fix an incorrect docstring for Immediate in librustc_mir/interpret.

I suspect `Immediate` was once called `Value`?
  • Loading branch information
Centril authored Oct 31, 2019
2 parents ce64b17 + 1a8677a commit 60fa6d8
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 60fa6d8

Please sign in to comment.