Update other doc.

Value was renamed to Operand in ad2de8b4ee
ScalarPair to Slice in fe50b4eb1d

Not familiar enough with rustc's source to know if the comment is even still applicable.
This commit is contained in:
Hal Gentz 2019-09-03 01:54:48 -06:00 committed by GitHub
parent ff63bf8fc7
commit 7589d3a400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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> {