Skip to content

Commit 9541940

Browse files
authored
Rollup merge of rust-lang#92602 - jsha:source-link-2, r=GuillaumeGomez
Make source links look cleaner Change from syntaxy-looking [src] to the plain word "source". Change the syntaxy-looking `[-]` at the top of the page to say "collapse". Reduce opacity of rightside content. Part of rust-lang#59851 r? `@GuillaumeGomez` Demo: https://rustdoc.crud.net/jsha/source-link-2/std/string/struct.String.html [Discussed on Zulip](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/display.20of.20source.20link).
2 parents 091b9d4 + e7592ff commit 9541940

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
//! development you may want to press the `[-]` button near the top of the
3636
//! page to collapse it into a more skimmable view.
3737
//!
38-
//! While you are looking at that `[-]` button also notice the `[src]`
39-
//! button. Rust's API documentation comes with the source code and you are
38+
//! While you are looking at that `[-]` button also notice the `source`
39+
//! link. Rust's API documentation comes with the source code and you are
4040
//! encouraged to read it. The standard library source is generally high
4141
//! quality and a peek behind the curtains is often enlightening.
4242
//!

0 commit comments

Comments
 (0)