rustdoc: add [src] links to methods on a trait's page#79181
Merged
bors merged 2 commits intorust-lang:masterfrom Nov 20, 2020
Merged
rustdoc: add [src] links to methods on a trait's page#79181bors merged 2 commits intorust-lang:masterfrom
bors merged 2 commits intorust-lang:masterfrom
Conversation
Contributor
|
Some changes occurred in HTML/CSS/JS. |
Contributor
|
r? @jyn514 (rust_highfive has picked a reviewer for you, use r? to override) |
jyn514
approved these changes
Nov 18, 2020
Member
jyn514
left a comment
There was a problem hiding this comment.
This looks great! @GuillaumeGomez do you want to review the CSS changes? Otherwise r=me :)
Member
|
A small nit: if you can squash the last three commits together that would be nice, there are instructions at https://rustc-dev-guide.rust-lang.org/git.html#advanced-rebasing. No big deal if it's a hassle, though. |
082856e to
ae644a2
Compare
GuillaumeGomez
approved these changes
Nov 19, 2020
Member
|
Looks good to me, thanks! @bors: r=jyn514,GuillaumeGomez |
Collaborator
|
📌 Commit ae644a2 has been approved by |
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Nov 19, 2020
…e-link, r=jyn514,GuillaumeGomez rustdoc: add [src] links to methods on a trait's page Closes rust-lang#45150  ### Caveats - The way I've implemented it, links are also provided for required methods, that just link to the signature in the code. I'm not sure if this is the desired behaviour.  - I'm not sure if the css changes are correct. I inspected them visualy on firefox on desktop, and they seem to be fine. - I can't tell how `src/librustdoc/html/render/mod.rs` is structured, so I probably
Dylan-DPC-zz
pushed a commit
to Dylan-DPC-zz/rust
that referenced
this pull request
Nov 19, 2020
…e-link, r=jyn514,GuillaumeGomez rustdoc: add [src] links to methods on a trait's page Closes rust-lang#45150  ### Caveats - The way I've implemented it, links are also provided for required methods, that just link to the signature in the code. I'm not sure if this is the desired behaviour.  - I'm not sure if the css changes are correct. I inspected them visualy on firefox on desktop, and they seem to be fine. - I can't tell how `src/librustdoc/html/render/mod.rs` is structured, so I probably
This was referenced Nov 19, 2020
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 20, 2020
Rollup of 11 pull requests Successful merges: - rust-lang#79119 (Clarify availability of atomic operations) - rust-lang#79123 (Add u128 and i128 integer tests) - rust-lang#79177 (Test drop order for (destructuring) assignments) - rust-lang#79181 (rustdoc: add [src] links to methods on a trait's page) - rust-lang#79183 (Make compiletest testing use the local sysroot) - rust-lang#79185 (expand/resolve: Pre-requisites to "Turn `#[derive]` into a regular macro attribute") - rust-lang#79193 (Revert rust-lang#78969 "Normalize function type during validation") - rust-lang#79194 (Make as{_mut,}_slice on array::IntoIter public) - rust-lang#79204 (Add jyn514 email alias to mailmap) - rust-lang#79212 (Move `rustc_ty` -> `rustc_ty_utils`) - rust-lang#79217 (Add the "memcpy" doc alias to slice::copy_from_slice) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Member
|
This feature is saving me so much time while looking up implementations of things in Thanks a lot! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #45150
Caveats
src/librustdoc/html/render/mod.rsis structured, so I probably