mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-08 21:13:55 +00:00
Update compiler/rustc_middle/src/ty/consts/valtree.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
5b9bd903c0
commit
c4d564c780
@ -14,7 +14,7 @@ use rustc_macros::HashStable;
|
||||
/// have arbitrary values within that padding, even if the values of the struct are the same.
|
||||
///
|
||||
/// `ValTree` does not have this problem with representation, as it only contains integers or
|
||||
/// lists of values of itself.
|
||||
/// lists of (nested) `ValTree`.
|
||||
pub enum ValTree<'tcx> {
|
||||
/// ZSTs, integers, `bool`, `char` are represented as scalars.
|
||||
/// See the `ScalarInt` documentation for how `ScalarInt` guarantees that equal values
|
||||
|
Loading…
Reference in New Issue
Block a user