From c4d564c7808334bf08bcbad700f4a4a93a99be14 Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Tue, 16 Mar 2021 18:31:33 +0100 Subject: [PATCH] Update compiler/rustc_middle/src/ty/consts/valtree.rs Co-authored-by: Ralf Jung --- compiler/rustc_middle/src/ty/consts/valtree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_middle/src/ty/consts/valtree.rs b/compiler/rustc_middle/src/ty/consts/valtree.rs index 46be9cec7abe5..f1b78c876328d 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