Skip to content

Commit ad7a697

Browse files
Rollup merge of rust-lang#34768 - alexcrichton:issue-audit, r=aturon
std: Correct tracking issue for SipHash{13,24} The referenced tracking issue was closed and was actually about changing the algorithm. cc rust-lang#34767
2 parents 1fb707d + 767e149 commit ad7a697

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/libcore/hash/sip.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use ptr;
1818
/// An implementation of SipHash 1-3.
1919
///
2020
/// See: https://131002.net/siphash/
21-
#[unstable(feature = "sip_hash_13", issue = "29754")]
21+
#[unstable(feature = "sip_hash_13", issue = "34767")]
2222
#[derive(Debug, Clone, Default)]
2323
pub struct SipHasher13 {
2424
hasher: Hasher<Sip13Rounds>,
@@ -27,7 +27,7 @@ pub struct SipHasher13 {
2727
/// An implementation of SipHash 2-4.
2828
///
2929
/// See: https://131002.net/siphash/
30-
#[unstable(feature = "sip_hash_13", issue = "29754")]
30+
#[unstable(feature = "sip_hash_13", issue = "34767")]
3131
#[derive(Debug, Clone, Default)]
3232
pub struct SipHasher24 {
3333
hasher: Hasher<Sip24Rounds>,
@@ -154,14 +154,14 @@ impl SipHasher {
154154
impl SipHasher13 {
155155
/// Creates a new `SipHasher13` with the two initial keys set to 0.
156156
#[inline]
157-
#[unstable(feature = "sip_hash_13", issue = "29754")]
157+
#[unstable(feature = "sip_hash_13", issue = "34767")]
158158
pub fn new() -> SipHasher13 {
159159
SipHasher13::new_with_keys(0, 0)
160160
}
161161

162162
/// Creates a `SipHasher13` that is keyed off the provided keys.
163163
#[inline]
164-
#[unstable(feature = "sip_hash_13", issue = "29754")]
164+
#[unstable(feature = "sip_hash_13", issue = "34767")]
165165
pub fn new_with_keys(key0: u64, key1: u64) -> SipHasher13 {
166166
SipHasher13 {
167167
hasher: Hasher::new_with_keys(key0, key1)
@@ -172,14 +172,14 @@ impl SipHasher13 {
172172
impl SipHasher24 {
173173
/// Creates a new `SipHasher24` with the two initial keys set to 0.
174174
#[inline]
175-
#[unstable(feature = "sip_hash_13", issue = "29754")]
175+
#[unstable(feature = "sip_hash_13", issue = "34767")]
176176
pub fn new() -> SipHasher24 {
177177
SipHasher24::new_with_keys(0, 0)
178178
}
179179

180180
/// Creates a `SipHasher24` that is keyed off the provided keys.
181181
#[inline]
182-
#[unstable(feature = "sip_hash_13", issue = "29754")]
182+
#[unstable(feature = "sip_hash_13", issue = "34767")]
183183
pub fn new_with_keys(key0: u64, key1: u64) -> SipHasher24 {
184184
SipHasher24 {
185185
hasher: Hasher::new_with_keys(key0, key1)
@@ -232,7 +232,7 @@ impl super::Hasher for SipHasher {
232232
}
233233
}
234234

235-
#[unstable(feature = "sip_hash_13", issue = "29754")]
235+
#[unstable(feature = "sip_hash_13", issue = "34767")]
236236
impl super::Hasher for SipHasher13 {
237237
#[inline]
238238
fn write(&mut self, msg: &[u8]) {
@@ -245,7 +245,7 @@ impl super::Hasher for SipHasher13 {
245245
}
246246
}
247247

248-
#[unstable(feature = "sip_hash_13", issue = "29754")]
248+
#[unstable(feature = "sip_hash_13", issue = "34767")]
249249
impl super::Hasher for SipHasher24 {
250250
#[inline]
251251
fn write(&mut self, msg: &[u8]) {

0 commit comments

Comments
 (0)