]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #91075 - jsha:chill-item-info, r=GuillaumeGomez
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 24 Nov 2021 21:56:37 +0000 (22:56 +0100)
committerGitHub <noreply@github.com>
Wed, 24 Nov 2021 21:56:37 +0000 (22:56 +0100)
commit9390b50ef4dc989be4f2bad5dd958c78b0d7fc7c
treecb788ed4c42ff9264280f666e51b2455f5feed19
parenta6a1d7ca2936ddb33dbaad69ae3a8a47b9208498
parente6ab982d462994dc21a81561ae03bac476431b96
Rollup merge of #91075 - jsha:chill-item-info, r=GuillaumeGomez

Reduce prominence of item-infos

Fixes #59853

 - Remove border.
 - Reduce size of emoji slightly.
 - Remove details disclosure for unstable reason. This was inconsistent with our other details disclosures, and the detail revealed was usually better explained by clicking on the issue link.

Demo: https://rustdoc.crud.net/jsha/chill-item-info/std/mem/union.MaybeUninit.html#method.slice_assume_init_ref

Compare vs: https://doc.rust-lang.org/nightly/std/mem/union.MaybeUninit.html#method.slice_assume_init_ref

<img src="https://user-images.githubusercontent.com/220205/142717815-09828c9e-6ff4-445a-8ccc-31e028fd4985.png" width=700>
src/librustdoc/html/render/mod.rs
src/librustdoc/html/static/css/rustdoc.css