Skip to content

Commit

Permalink
Add doc comment explaining what the second Array's field is about
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jan 8, 2021
1 parent ddf2cc7 commit 3338bdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustdoc/clean/types.rs
Expand Up @@ -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>),
Expand Down

0 comments on commit 3338bdb

Please sign in to comment.