diff options
| author | Hal Gentz <zegentzy@protonmail.com> | 2019-09-03 01:54:48 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-03 01:54:48 -0600 |
| commit | 7589d3a400dfaa13027232ef0a5352fd20680193 (patch) | |
| tree | b947934c0fe3b39ee5376828b80157dd22e2968b /src/librustc | |
| parent | ff63bf8fc7a19ca27b3d43aa36036f8e77567b20 (diff) | |
| download | rust-7589d3a400dfaa13027232ef0a5352fd20680193.tar.gz rust-7589d3a400dfaa13027232ef0a5352fd20680193.zip | |
Update other doc.
Value was renamed to Operand in https://github.com/rust-lang/rust/commit/ad2de8b4ee099916113b7b3577ac86857b1568be ScalarPair to Slice in https://github.com/rust-lang/rust/commit/fe50b4eb1d6f7a31c53798bca3d0fa2b0670fa3d Not familiar enough with rustc's source to know if the comment is even still applicable.
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/mir/interpret/value.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/mir/interpret/value.rs b/src/librustc/mir/interpret/value.rs index 3da5a65c379..811c872968a 100644 --- a/src/librustc/mir/interpret/value.rs +++ b/src/librustc/mir/interpret/value.rs @@ -17,8 +17,8 @@ pub struct RawConst<'tcx> { pub ty: Ty<'tcx>, } -/// Represents a constant value in Rust. `Scalar` and `ScalarPair` are optimizations that -/// match the `LocalState` optimizations for easy conversions between `Value` and `ConstValue`. +/// Represents a constant value in Rust. `Scalar` and `Slice` are optimizations that +/// match the `LocalState` optimizations for easy conversions between `Operand` and `ConstValue`. #[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord, RustcEncodable, RustcDecodable, Hash, HashStable)] pub enum ConstValue<'tcx> { |
