diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-06-10 22:32:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-10 22:32:31 +0200 |
| commit | 30a8903821e35c7c7cee7f393917aecaadc92e93 (patch) | |
| tree | 50758c920985ed26e9cc6a2511742c7d31fb4ed4 | |
| parent | 35ba4dc03163b30616a7232bb3344d84bd83769e (diff) | |
| parent | 28ca3bdeb278cdf0d8b1a87777183689da6f9509 (diff) | |
| download | rust-30a8903821e35c7c7cee7f393917aecaadc92e93.tar.gz rust-30a8903821e35c7c7cee7f393917aecaadc92e93.zip | |
Rollup merge of #97940 - GuillaumeGomez:relative-link, r=Dylan-DPC
Use relative links instead of linking to doc.rust-lang.org when possible Part of https://github.com/rust-lang/rust/issues/97918.
| -rw-r--r-- | library/core/src/hash/sip.rs | 2 | ||||
| -rw-r--r-- | library/core/src/mem/maybe_uninit.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/core/src/hash/sip.rs b/library/core/src/hash/sip.rs index 97e32ca77db..81bf1dfdf45 100644 --- a/library/core/src/hash/sip.rs +++ b/library/core/src/hash/sip.rs @@ -38,7 +38,7 @@ struct SipHasher24 { /// SipHash is a general-purpose hashing function: it runs at a good /// speed (competitive with Spooky and City) and permits strong _keyed_ /// hashing. This lets you key your hash tables from a strong RNG, such as -/// [`rand::os::OsRng`](https://doc.rust-lang.org/rand/rand/os/struct.OsRng.html). +/// [`rand::os::OsRng`](https://docs.rs/rand/latest/rand/rngs/struct.OsRng.html). /// /// Although the SipHash algorithm is considered to be generally strong, /// it is not intended for cryptographic purposes. As such, all diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs index cac7f435573..b4ea5360833 100644 --- a/library/core/src/mem/maybe_uninit.rs +++ b/library/core/src/mem/maybe_uninit.rs @@ -865,7 +865,7 @@ impl<T> MaybeUninit<T> { /// /// For instance, you cannot [`Read`] into an uninitialized buffer: /// - /// [`Read`]: https://doc.rust-lang.org/std/io/trait.Read.html + /// [`Read`]: ../../std/io/trait.Read.html /// /// ```rust,no_run /// use std::{io, mem::MaybeUninit}; |
