Skip to content

Commit 6ab61b3

Browse files
authored
Rollup merge of #150847 - siphash-doc-link, r=joboet
Fix broken documentation links to SipHash The documentation of `SipHasher` previously linked to a page about SipHash on https://131002.net, a domain registered to Jean-Philippe Aumasson, one of the co-authors of the original SipHash paper (alongside Daniel J Bernstein). That domain now redirects to another of Mr Aumasson's domains, https://www.aumasson.jp, but which does not host a similar page dedicated to SipHash. Instead, his site links to a GitHub repository containing a C implementation together with links to the original research paper. Mr Bernstein's own site, https://cr.yp.to, only hosts a copy of the research paper. Therefore the GitHub repository appears to be the most official and complete reference to which we can link. Fixes #150806 r? reddevilmidzy
2 parents a8d66d4 + 3c136cc commit 6ab61b3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

library/core/src/hash/sip.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::{cmp, ptr};
1010
/// This is currently the default hashing function used by standard library
1111
/// (e.g., `collections::HashMap` uses it by default).
1212
///
13-
/// See: <https://131002.net/siphash>
13+
/// See: <https://github.com/veorq/SipHash>
1414
#[unstable(feature = "hashmap_internals", issue = "none")]
1515
#[deprecated(since = "1.13.0", note = "use `std::hash::DefaultHasher` instead")]
1616
#[derive(Debug, Clone, Default)]
@@ -21,7 +21,7 @@ pub struct SipHasher13 {
2121

2222
/// An implementation of SipHash 2-4.
2323
///
24-
/// See: <https://131002.net/siphash/>
24+
/// See: <https://github.com/veorq/SipHash>
2525
#[unstable(feature = "hashmap_internals", issue = "none")]
2626
#[deprecated(since = "1.13.0", note = "use `std::hash::DefaultHasher` instead")]
2727
#[derive(Debug, Clone, Default)]
@@ -31,7 +31,7 @@ struct SipHasher24 {
3131

3232
/// An implementation of SipHash 2-4.
3333
///
34-
/// See: <https://131002.net/siphash/>
34+
/// See: <https://github.com/veorq/SipHash>
3535
///
3636
/// SipHash is a general-purpose hashing function: it runs at a good
3737
/// speed (competitive with Spooky and City) and permits strong _keyed_

0 commit comments

Comments
 (0)