Skip to content

Commit 30a8903

Browse files
authored
Rollup merge of rust-lang#97940 - GuillaumeGomez:relative-link, r=Dylan-DPC
Use relative links instead of linking to doc.rust-lang.org when possible Part of rust-lang#97918.
2 parents 35ba4dc + 28ca3bd commit 30a8903

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/hash/sip.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ struct SipHasher24 {
3838
/// SipHash is a general-purpose hashing function: it runs at a good
3939
/// speed (competitive with Spooky and City) and permits strong _keyed_
4040
/// hashing. This lets you key your hash tables from a strong RNG, such as
41-
/// [`rand::os::OsRng`](https://doc.rust-lang.org/rand/rand/os/struct.OsRng.html).
41+
/// [`rand::os::OsRng`](https://docs.rs/rand/latest/rand/rngs/struct.OsRng.html).
4242
///
4343
/// Although the SipHash algorithm is considered to be generally strong,
4444
/// it is not intended for cryptographic purposes. As such, all

library/core/src/mem/maybe_uninit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ impl<T> MaybeUninit<T> {
865865
///
866866
/// For instance, you cannot [`Read`] into an uninitialized buffer:
867867
///
868-
/// [`Read`]: https://doc.rust-lang.org/std/io/trait.Read.html
868+
/// [`Read`]: ../../std/io/trait.Read.html
869869
///
870870
/// ```rust,no_run
871871
/// use std::{io, mem::MaybeUninit};

0 commit comments

Comments
 (0)