Rollup merge of #139202 - bjorn3:improve_comment, r=jieyouxu
Improve docs of ValTreeKind
This commit is contained in:
commit
99826dd9c7
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ pub enum ValTreeKind<'tcx> {
|
|||
/// The fields of any kind of aggregate. Structs, tuples and arrays are represented by
|
||||
/// 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.
|
||||
///
|
||||
/// ZST types are represented as an empty slice.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue