bors
5e834243b6
auto merge of #18440 : japaric/rust/hash, r=alexcrichton
...
- The signature of the `*_equiv` methods of `HashMap` and similar structures have changed, and now require one less level of indirection. Change your code from:
``` rust
hashmap.find_equiv(&"Hello");
hashmap.find_equiv(&&[0u8, 1, 2]);
```
to:
``` rust
hashmap.find_equiv("Hello");
hashmap.find_equiv(&[0u8, 1, 2]);
```
- The generic parameter `T` of the `Hasher::hash<T>` method have become `Sized?`. Downstream code must add `Sized?` to that method in their implementations. For example:
``` rust
impl Hasher<FnvState> for FnvHasher {
fn hash<T: Hash<FnvState>>(&self, t: &T) -> u64 { /* .. */ }
}
```
must be changed to:
``` rust
impl Hasher<FnvState> for FnvHasher {
fn hash<Sized? T: Hash<FnvState>>(&self, t: &T) -> u64 { /* .. */ }
// ^^^^^^
}
```
[breaking-change]
---
After review I'll squash the commits and update the commit message with the above paragraph.
r? @aturon
cc #16918
2014-10-31 17:11:43 +00:00
..
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 23:24:04 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-30 15:51:56 +13:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-28 17:54:16 +01:00
2014-10-29 11:43:07 -04:00
2014-10-30 15:51:56 +13:00
2014-10-27 15:12:48 -07:00
2014-10-28 00:03:36 -07:00
2014-10-28 20:18:10 -07:00
2014-10-29 21:48:15 -07:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-31 16:47:25 +02:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-31 07:25:34 -05:00
2014-10-29 11:43:07 -04:00
2014-10-30 23:28:11 -05:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 16:06:13 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-30 15:51:56 +13:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-27 18:51:43 -07:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00
2014-10-29 11:43:07 -04:00