diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-07-06 17:45:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-06 17:45:15 -0700 |
| commit | 218d96ed6b7d57bd5d8c38f649a22b8d4ac31c25 (patch) | |
| tree | 6d2d88a0dba50110857a25a35ae95e57a5c73b08 /src/libstd | |
| parent | 0c03aee8b81185d65b5821518661c30ecdb42de5 (diff) | |
| parent | e955bebcda257d290278b53c1677e7c54e65f134 (diff) | |
| download | rust-218d96ed6b7d57bd5d8c38f649a22b8d4ac31c25.tar.gz rust-218d96ed6b7d57bd5d8c38f649a22b8d4ac31c25.zip | |
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
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sys/unix/ext/fs.rs | 2 | ||||
| -rw-r--r-- | src/libstd/sys/vxworks/ext/fs.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/sys/unix/ext/fs.rs b/src/libstd/sys/unix/ext/fs.rs index e4d71493604..2b2bbc6e9d6 100644 --- a/src/libstd/sys/unix/ext/fs.rs +++ b/src/libstd/sys/unix/ext/fs.rs @@ -133,7 +133,7 @@ pub trait FileExt { /// Note that similar to [`File::write`], it is not an error to return a /// short write. /// - /// [`File::write`]: ../../../../std/fs/struct.File.html#write.v + /// [`File::write`]: ../../../../std/fs/struct.File.html#method.write /// /// # Examples /// diff --git a/src/libstd/sys/vxworks/ext/fs.rs b/src/libstd/sys/vxworks/ext/fs.rs index 7cc64658ee1..b479fbaf346 100644 --- a/src/libstd/sys/vxworks/ext/fs.rs +++ b/src/libstd/sys/vxworks/ext/fs.rs @@ -132,7 +132,7 @@ pub trait FileExt { /// Note that similar to [`File::write`], it is not an error to return a /// short write. /// - /// [`File::write`]: ../../../../std/fs/struct.File.html#write.v + /// [`File::write`]: ../../../../std/fs/struct.File.html#method.write /// /// # Examples /// |
