1
Fork 0

Rollup merge of #139202 - bjorn3:improve_comment, r=jieyouxu

Improve docs of ValTreeKind
This commit is contained in:
Matthias Krüger 2025-04-01 20:25:25 +02:00 committed by GitHub
commit 99826dd9c7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,7 +33,7 @@ pub enum ValTreeKind<'tcx> {
/// The fields of any kind of aggregate. Structs, tuples and arrays are represented by /// The fields of any kind of aggregate. Structs, tuples and arrays are represented by
/// listing their fields' values in order. /// listing their fields' values in order.
/// ///
/// Enums are represented by storing their discriminant as a field, followed by all /// Enums are represented by storing their variant index as a u32 field, followed by all
/// the fields of the variant. /// the fields of the variant.
/// ///
/// ZST types are represented as an empty slice. /// ZST types are represented as an empty slice.