1
Fork 0

Improve docs of ValTreeKind

This commit is contained in:
bjorn3 2025-03-25 15:36:26 +01:00
parent 97ea17b71a
commit f153685fd0

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.