about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-01-08 22:43:53 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-01-08 22:43:53 +0100
commit3338bdb23d631a13fbdebffcb0aca54dfa8cca51 (patch)
treead936ea92f63e6a2c0a60d5eff3e9e6f8a2e0ec9 /src
parentddf2cc7f8eb34f1a63b491d6a52e3e8208393c09 (diff)
Add doc comment explaining what the second Array's field is about
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/clean/types.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs
index 38791fcea54..b43bf88c2af 100644
--- a/src/librustdoc/clean/types.rs
+++ b/src/librustdoc/clean/types.rs
@@ -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>),