diff options
| author | bors <bors@rust-lang.org> | 2021-04-19 07:32:55 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-04-19 07:32:55 +0000 | 
| commit | 62652865b6029b4776a7c03efa13a37b15c9b953 (patch) | |
| tree | f6c28b7f6b1a700a4186bd07cb7926c2046478c7 /library/std/src/sys/unix/os.rs | |
| parent | 532609b01c6ba2ac9d57f6ad822e79c1defa8c97 (diff) | |
| parent | e23b035bbe7d3533d623c8658538249704fb4ab9 (diff) | |
| download | rust-62652865b6029b4776a7c03efa13a37b15c9b953.tar.gz rust-62652865b6029b4776a7c03efa13a37b15c9b953.zip | |
Auto merge of #84283 - jsha:de-emphasize-attributes, r=GuillaumeGomez
rustdoc: Reduce visual weight of attributes. Followup from #83337. As part of that PR, we stopped hiding attributes behind a toggle, because most things have just zero or one attributes. However, this made clear that the current rendering of attributes emphasizes them a lot, which distracts from function signatures. This PR changes their color of attributes to be the same as the toggles, and reduces their font weight. This also removes `#[lang]` from the list of ALLOWED_ATTRIBUTES. This attribute is an implementation detail rather than part of the public-facing documentation.  Demo at https://hoffman-andrews.com/rust/de-emph-attr/std/string/struct.String.html#method.trim
Diffstat (limited to 'library/std/src/sys/unix/os.rs')
0 files changed, 0 insertions, 0 deletions
