Rollup merge of #50947 - QuietMisdreavus:nice-tabs, r=GuillaumeGomez

rustdoc: set tab width in rust source blocks

cc https://github.com/rust-lang/rust/issues/49155 (fixes it?)

This sets the tab width ([in supported browsers](https://developer.mozilla.org/en-US/docs/Web/CSS/tab-size)) in Rust source blocks to 4 spaces wide (instead of the default 8), to correspond with the style guidelines.
This commit is contained in:
kennytm 2018-05-23 00:26:19 +08:00 committed by GitHub
commit c717a70a36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1010,6 +1010,8 @@ span.since {
pre.rust {
position: relative;
tab-width: 4;
-moz-tab-width: 4;
}
.search-failed {