From 3338bdb23d631a13fbdebffcb0aca54dfa8cca51 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 8 Jan 2021 22:43:53 +0100 Subject: [PATCH] Add doc comment explaining what the second Array's field is about --- src/librustdoc/clean/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs index 38791fcea548..b43bf88c2af1 100644 --- a/src/librustdoc/clean/types.rs +++ b/src/librustdoc/clean/types.rs @@ -1226,6 +1226,7 @@ crate enum Type { BareFunction(Box), Tuple(Vec), Slice(Box), + /// The `String` field is about the size or the constant representing the array's length. Array(Box, String), Never, RawPointer(Mutability, Box),