rust/src/librustdoc
Dylan DPC 9f9577c1aa
Rollup merge of #83645 - pickfire:patch-3, r=GuillaumeGomez
Wrap non-pre code blocks

Fix #83550 regression

```
$ cargo new --lib whitespace && cd whitespace && echo '//! `"   foo   "`' > src/lib.rs && cargo doc --open
```

Before

![](https://user-images.githubusercontent.com/89623/112713498-c0dfc200-8ed5-11eb-8c57-efdf26372e74.png)

After

![](https://user-images.githubusercontent.com/89623/112713538-f08eca00-8ed5-11eb-8a98-675179f60ae2.png)

r? ``@GuillaumeGomez``
cc ``@mgeisler``
2021-03-30 11:34:27 +02:00
..
clean Auto merge of #82864 - jyn514:short-circuit, r=GuillaumeGomez 2021-03-29 22:27:16 +00:00
doctest Fix injected errors when running doctests on a crate named after a keyword 2021-02-11 17:16:43 -05:00
formats Don't call item on modules for json renderer 2021-03-24 16:54:13 +00:00
html Rollup merge of #83645 - pickfire:patch-3, r=GuillaumeGomez 2021-03-30 11:34:27 +02:00
json Rollup merge of #83055 - aDotInTheVoid:selective-strip-item-doc, r=jyn514 2021-03-26 02:34:38 +01:00
passes Inline find_suffix closure that's only used once 2021-03-28 17:27:19 -07:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml missing newline at eof 2021-03-22 19:42:05 +00:00
config.rs Rollup merge of #82803 - jyn514:unversioned-files, r=GuillaumeGomez 2021-03-07 10:41:18 +09:00
core.rs Remove unnecessary Option wrapping around Crate.module 2021-03-23 11:04:09 -07:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs ast/hir: Rename field-related structures 2021-03-16 11:41:24 +03:00
doctree.rs Remove another unnecessary Option 2021-03-23 11:19:42 -07:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
fold.rs Remove unnecessary Option wrapping around Crate.module 2021-03-23 11:04:09 -07:00
lib.rs librustdoc: or_patterns are stable 2021-03-19 19:45:42 -05:00
lint.rs Don't warn about old rustdoc lint names (temporarily) 2021-03-16 13:13:59 -04:00
markdown.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Replace under-used ImplPolarity enum with a boolean 2021-01-09 14:59:37 +01:00
visit_ast.rs Remove another unnecessary Option 2021-03-23 11:19:42 -07:00
visit_lib.rs Remove the dummy cache in DocContext 2021-03-01 00:30:30 -05:00

For more information about how librustdoc works, see the rustc dev guide.