diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2022-09-16 13:07:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-16 13:07:19 +0200 |
| commit | c21dcd79144acc2f0fa6ca5b9d423758db2ae94b (patch) | |
| tree | 1b47245a29ced7bdda89abf8549ce23164a66b62 /compiler/rustc_codegen_llvm/src | |
| parent | 9a72ded562b2c8b78478550d4df09d1499a3dae1 (diff) | |
| parent | 669498ca0a880e2272fee62bf5dc50f3bc07e75b (diff) | |
| download | rust-c21dcd79144acc2f0fa6ca5b9d423758db2ae94b.tar.gz rust-c21dcd79144acc2f0fa6ca5b9d423758db2ae94b.zip | |
Rollup merge of #101868 - notriddle:notriddle/short-links-jump-to-definition, r=GuillaumeGomez
rustdoc: use more precise URLs for jump-to-definition links
As an example, this cuts down <https://doc.rust-lang.org/nightly/nightly-rustc/src/rustc_middle/ty/mod.rs.html> by about 11%.
$ du -h new_mod.rs.html old_mod.rs.html
296K new_mod.rs.html
332K old_mod.rs.html
Like https://github.com/rust-lang/rust/pull/83237, but separate code since source links have a different URL structure.
Related to [Zulip discussion](https://rust-lang.zulipchat.com/#narrow/stream/266220-rustdoc/topic/RFC.20for.20.22jump.20to.20definition.22.20feature/near/299029786) and [the jump-to-definition pre-RFC](https://github.com/GuillaumeGomez/rfcs/pull/1).
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
