Change rustdoc style so fully qualified name does not overlap src link#53060
Change rustdoc style so fully qualified name does not overlap src link#53060bors merged 1 commit intorust-lang:masterfrom
Conversation
|
Thanks for the PR! We’ll periodically check in on it to make sure that @GuillaumeGomez or someone else from the team reviews it soon. |
|
I'd prefer still having the |
|
I just maintained the current functionality where the |
A type's fully qualified name will now wrap once it gets to the `[-][src]` link aligned against the right edge of the content area. Previously the two would overlap and the name would only wrap when hitting the edge of the content area. The `[-][src]` link will main at the top of the header.
4bec451 to
3f92ff3
Compare
|
Pushed changes to re-order |
|
Please add a screenshot too. |
|
Thanks! @bors: r+ rollup |
|
📌 Commit 3f92ff3 has been approved by |
…aumeGomez Change rustdoc style so fully qualified name does not overlap src link A type's fully qualified name will now wrap once it gets to the `[-][src]` link aligned against the right edge of the content area. Previously the two would overlap and the name would only wrap when hitting the edge of the content area. Before:  After: 
Rollup of 10 pull requests Successful merges: - #52885 (Remove some unused method arguments from typeck) - #52886 (cleanup: Remove `Def::GlobalAsm`) - #53028 (Building librustc_codegen_llvm in a separate directory) - #53052 (fixed broken links to char) - #53060 (Change rustdoc style so fully qualified name does not overlap src link) - #53068 (Rename Executor trait to Spawn) - #53093 (Enable macros to pass $:literal to another macro) - #53107 (Remove references to `StaticMutex` which got removed a while ago) - #53135 (Rust 2018: Disable catch_expr, not targeted for 2018 edition) - #53139 (set emit_debug_gdb_scripts: false for riscv32imac-unknown-none target)

A type's fully qualified name will now wrap once it gets to the
[-][src]link aligned against the right edge of the content area.Previously the two would overlap and the name would only wrap when
hitting the edge of the content area.
Before:

After:
