Auto merge of #107000 - GuillaumeGomez:fix-items-in-doc-hidden-block, r=notriddle,petrochenkov

Fix handling of items inside a `doc(hidden)` block

Fixes #106373.

cc `@aDotInTheVoid`
r? `@notriddle`
This commit is contained in:
bors 2023-02-02 21:14:44 +00:00
commit 6c991b0740
11 changed files with 357 additions and 111 deletions

View file

@ -138,7 +138,7 @@ pub(super) fn write_shared(
Ok((ret, krates))
}
/// Read a file and return all lines that match the <code>"{crate}":{data},\</code> format,
/// Read a file and return all lines that match the <code>"{crate}":{data},\ </code> format,
/// and return a tuple `(Vec<DataString>, Vec<CrateNameString>)`.
///
/// This forms the payload of files that look like this: