]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #70563 - GuillaumeGomez:page-hash-handling, r=ollie27,kinnison
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 7 Jul 2020 00:45:15 +0000 (17:45 -0700)
committerGitHub <noreply@github.com>
Tue, 7 Jul 2020 00:45:15 +0000 (17:45 -0700)
commit218d96ed6b7d57bd5d8c38f649a22b8d4ac31c25
tree6d2d88a0dba50110857a25a35ae95e57a5c73b08
parent0c03aee8b81185d65b5821518661c30ecdb42de5
parente955bebcda257d290278b53c1677e7c54e65f134
Rollup merge of #70563 - GuillaumeGomez:page-hash-handling, r=ollie27,kinnison

[rustdoc] Page hash handling

Fixes https://github.com/rust-lang/rust/issues/70476

A good example to see the change is to use this URL: https://doc.rust-lang.org/nightly/std/string/struct.String.html#from_iter.v-3

After the change, it actually goes to the target element (and change the page hash to something more clear for the users).

r? @kinnison

cc @ollie27
src/bootstrap/doc.rs