diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-31 02:54:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-31 02:54:10 +0100 |
| commit | 60fa6d8ac258400a3b4da72019f5edda7e513dbe (patch) | |
| tree | b63332f68e05b6658807a79b0421f669026c4c86 /src | |
| parent | ce64b170eb405f04ec4462d0184db2bf85953579 (diff) | |
| parent | 1a8677ae1aa9202a3529078d87073fe052eb3ec6 (diff) | |
| download | rust-60fa6d8ac258400a3b4da72019f5edda7e513dbe.tar.gz rust-60fa6d8ac258400a3b4da72019f5edda7e513dbe.zip | |
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`?
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_mir/interpret/operand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/operand.rs b/src/librustc_mir/interpret/operand.rs index 4fd5e6a5435..ae23971849e 100644 --- a/src/librustc_mir/interpret/operand.rs +++ b/src/librustc_mir/interpret/operand.rs @@ -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 |
