diff options
| author | bors <bors@rust-lang.org> | 2018-10-30 11:38:31 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-10-30 11:38:31 +0000 |
| commit | e8aef7cae14bc7a56859408c90253e9bcc07fcff (patch) | |
| tree | 01369c637678ec513ba6f874aa1e05ce8e88dbbb /src/librustdoc/html/static/rustdoc.css | |
| parent | b1ca3907e00211b2f645133af3574ca22e4f4f4d (diff) | |
| parent | c16ff6e7e86e01d7e5408d28f40a255546f37c6e (diff) | |
| download | rust-e8aef7cae14bc7a56859408c90253e9bcc07fcff.tar.gz rust-e8aef7cae14bc7a56859408c90253e9bcc07fcff.zip | |
Auto merge of #55502 - kennytm:rollup, r=kennytm
Rollup of 12 pull requests
Successful merges:
- #54885 (Don't lint 'unused_parens` on `if (break _) { .. }`)
- #55205 (Improve a few cases of collecting to an FxHash(Map/Set))
- #55450 (msp430: remove the whole Atomic* API)
- #55459 (Add UI test for #49296)
- #55472 (Use opt.take() instead of mem::replace(opt, None))
- #55473 (Take advantage of impl Iterator in (transitive/elaborate)_bounds)
- #55474 (Fix validation false positive)
- #55476 (Change a flat_map with 0/1-element vecs to a filter_map)
- #55487 (Adjust Ids of path segments in visibility modifiers)
- #55493 (Doc fixes)
- #55494 (borrowck=migrate must look at parents of closures)
- #55496 (Update clippy)
Failed merges:
r? @ghost
Diffstat (limited to 'src/librustdoc/html/static/rustdoc.css')
| -rw-r--r-- | src/librustdoc/html/static/rustdoc.css | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 8bcb828a5ad..ad6cdfd3e73 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -282,8 +282,11 @@ nav.sub { padding-left: 0; } -.example-wrap { +body:not(.source) .example-wrap { display: inline-flex; +} + +.example-wrap { width: 100%; } @@ -296,7 +299,7 @@ nav.sub { text-align: right; } -.example-wrap > pre.rust { +body:not(.source) .example-wrap > pre.rust { width: 100%; } |
