Skip to content

Commit c4cf5cf

Browse files
committed
---
yaml --- r: 162535 b: refs/heads/try c: 97d4354 h: refs/heads/master i: 162533: 499b111 162531: e2768a5 162527: 31c67e0 v: v3
1 parent efacc1b commit c4cf5cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cafe2966770ff377aad6dd9fd808e68055587c58
5-
refs/heads/try: 46bdb455c3087149364d87748cc6c683c4ed130e
5+
refs/heads/try: 97d435497c7fce811d39d2cc0882d2b8deaf415f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/src/libcollections/hash/sip.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,15 +251,15 @@ impl Default for SipHasher {
251251

252252
/// Hashes a value using the SipHash algorithm.
253253
#[inline]
254-
pub fn hash<T: Hash<SipState>>(value: &T) -> u64 {
254+
pub fn hash<Sized? T: Hash<SipState>>(value: &T) -> u64 {
255255
let mut state = SipState::new();
256256
value.hash(&mut state);
257257
state.result()
258258
}
259259

260260
/// Hashes a value with the SipHash algorithm with the provided keys.
261261
#[inline]
262-
pub fn hash_with_keys<T: Hash<SipState>>(k0: u64, k1: u64, value: &T) -> u64 {
262+
pub fn hash_with_keys<Sized? T: Hash<SipState>>(k0: u64, k1: u64, value: &T) -> u64 {
263263
let mut state = SipState::new_with_keys(k0, k1);
264264
value.hash(&mut state);
265265
state.result()

0 commit comments

Comments
 (0)