about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <github35764891676564198441@oli-obk.de>2021-03-16 18:31:33 +0100
committerGitHub <noreply@github.com>2021-03-16 18:31:33 +0100
commitc4d564c7808334bf08bcbad700f4a4a93a99be14 (patch)
tree09bc47ae30a77467addaf0d7aded11117f98b6a5
parent5b9bd903c08cb8bfe453e71f8d2d393bcc43819f (diff)
downloadrust-c4d564c7808334bf08bcbad700f4a4a93a99be14.tar.gz
rust-c4d564c7808334bf08bcbad700f4a4a93a99be14.zip
Update compiler/rustc_middle/src/ty/consts/valtree.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
-rw-r--r--compiler/rustc_middle/src/ty/consts/valtree.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/consts/valtree.rs b/compiler/rustc_middle/src/ty/consts/valtree.rs
index 46be9cec7ab..f1b78c87632 100644
--- a/compiler/rustc_middle/src/ty/consts/valtree.rs
+++ b/compiler/rustc_middle/src/ty/consts/valtree.rs
@@ -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