rust/src/librustdoc
Yuki Okushi 47042594cb
Rollup merge of #77920 - ayazhafiz:i/mut-ident-spacing, r=jyn514
Avoid extraneous space between visibility kw and ident for statics

Today, given a static like `static mut FOO: usize = 1`, rustdoc would
emit `static mut  FOO: usize = 1`, as it emits both the mutability kw
with a space and reserves a space after the mutability kw. This patch
fixes that misformatting.

This patch also adds some tests for emit of other statics, as I could
not find an existing test devoted to statics.
2020-10-23 18:26:24 +09:00
..
clean Lift: take self by value 2020-10-21 23:59:35 +02:00
doctest Rename rustdoc/test -> rustdoc/doctest 2020-08-27 18:21:25 +02:00
formats rustdoc: do not use plain summary for trait impls 2020-08-30 12:02:18 -04:00
html Rollup merge of #77920 - ayazhafiz:i/mut-ident-spacing, r=jyn514 2020-10-23 18:26:24 +09:00
json Update driver to add json backend 2020-07-30 14:13:51 -05:00
passes Rollup merge of #77753 - GuillaumeGomez:check-html-comments, r=jyn514 2020-10-15 07:32:31 +09:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Upgrade to pulldown-cmark 0.8.0 2020-09-13 20:15:01 -04:00
config.rs Fix strings indent 2020-08-31 13:16:50 +02:00
core.rs Add unclosed_html_tags lint 2020-10-03 14:16:23 +02:00
docfs.rs fix clippy::unit_arg: make it explicit that Ok(()) is being returned 2020-08-07 22:47:32 +02:00
doctest.rs Preserve the parent module of DocFragments 2020-10-08 00:29:34 -04:00
doctree.rs Correctly handle "pub use" reexports 2020-10-09 20:25:44 +02:00
error.rs Move Error and RenderInfo out of html module 2020-07-27 16:00:38 -05:00
externalfiles.rs rustdoc: Rename internal API fns to into_string 2020-07-15 10:55:40 +00:00
fold.rs rustdoc: Fix intra-doc links for cross-crate re-exports of traits 2020-08-29 17:21:26 -04:00
lib.rs Remove unused type from librustdoc 2020-10-20 21:44:51 +02:00
markdown.rs Rename rustdoc/test -> rustdoc/doctest 2020-08-27 18:21:25 +02: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 Expand and remove try_something macro. 2020-04-02 19:55:56 +02:00
visit_ast.rs Preserve the parent module of DocFragments 2020-10-08 00:29:34 -04:00
visit_lib.rs rustc -> rustc_middle part 3 (rustfmt) 2020-03-30 07:19:55 +02:00

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