Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit c4d564c

Browse files
oli-obkRalfJung
andauthored
Update compiler/rustc_middle/src/ty/consts/valtree.rs
Co-authored-by: Ralf Jung <[email protected]>
1 parent 5b9bd90 commit c4d564c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/consts/valtree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use rustc_macros::HashStable;
1414
/// have arbitrary values within that padding, even if the values of the struct are the same.
1515
///
1616
/// `ValTree` does not have this problem with representation, as it only contains integers or
17-
/// lists of values of itself.
17+
/// lists of (nested) `ValTree`.
1818
pub enum ValTree<'tcx> {
1919
/// ZSTs, integers, `bool`, `char` are represented as scalars.
2020
/// See the `ScalarInt` documentation for how `ScalarInt` guarantees that equal values

0 commit comments

Comments
 (0)