Add doc comment explaining what the second Array's field is about

This commit is contained in:
Guillaume Gomez 2021-01-08 22:43:53 +01:00
parent ddf2cc7f8e
commit 3338bdb23d
1 changed files with 1 additions and 0 deletions

View File

@ -1226,6 +1226,7 @@ crate enum Type {
BareFunction(Box<BareFunctionDecl>),
Tuple(Vec<Type>),
Slice(Box<Type>),
/// The `String` field is about the size or the constant representing the array's length.
Array(Box<Type>, String),
Never,
RawPointer(Mutability, Box<Type>),