rust/src/librustdoc/html/render
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
..
cache.rs rustdoc: do not use plain summary for trait impls 2020-08-30 12:02:18 -04:00
mod.rs Rollup merge of #77920 - ayazhafiz:i/mut-ident-spacing, r=jyn514 2020-10-23 18:26:24 +09:00
tests.rs Rustdoc: Fix natural ordering to look at all numbers. 2020-08-09 23:05:35 +02:00