Skip to content

Commit 7589d3a

Browse files
authored
Update other doc.
Value was renamed to Operand in ad2de8b ScalarPair to Slice in fe50b4e Not familiar enough with rustc's source to know if the comment is even still applicable.
1 parent ff63bf8 commit 7589d3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/mir/interpret/value.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ pub struct RawConst<'tcx> {
1717
pub ty: Ty<'tcx>,
1818
}
1919

20-
/// Represents a constant value in Rust. `Scalar` and `ScalarPair` are optimizations that
21-
/// match the `LocalState` optimizations for easy conversions between `Value` and `ConstValue`.
20+
/// Represents a constant value in Rust. `Scalar` and `Slice` are optimizations that
21+
/// match the `LocalState` optimizations for easy conversions between `Operand` and `ConstValue`.
2222
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord,
2323
RustcEncodable, RustcDecodable, Hash, HashStable)]
2424
pub enum ConstValue<'tcx> {

0 commit comments

Comments
 (0)