Skip to content

Commit 3338bdb

Browse files
Add doc comment explaining what the second Array's field is about
1 parent ddf2cc7 commit 3338bdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/clean/types.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,7 @@ crate enum Type {
12261226
BareFunction(Box<BareFunctionDecl>),
12271227
Tuple(Vec<Type>),
12281228
Slice(Box<Type>),
1229+
/// The `String` field is about the size or the constant representing the array's length.
12291230
Array(Box<Type>, String),
12301231
Never,
12311232
RawPointer(Mutability, Box<Type>),

0 commit comments

Comments
 (0)