rust/src/libterm/terminfo
Jorge Aparicio 1384a43db3 DSTify Hash
- 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:

```
hashmap.find_equiv(&"Hello");
hashmap.find_equiv(&&[0u8, 1, 2]);
```

to:

```
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:

```
impl Hasher<FnvState> for FnvHasher {
    fn hash<T: Hash<FnvState>>(&self, t: &T) -> u64 { /* .. */ }
}
```

must be changed to:

```
impl Hasher<FnvState> for FnvHasher {
    fn hash<Sized? T: Hash<FnvState>>(&self, t: &T) -> u64 { /* .. */ }
    //      ^^^^^^
}
```

[breaking-change]
2014-10-31 07:25:34 -05:00
..
parser Update code with new lint names 2014-10-28 08:54:21 -07:00
mod.rs DSTify Hash 2014-10-31 07:25:34 -05:00
parm.rs rollup merge of #18398 : aturon/lint-conventions-2 2014-10-30 17:37:22 -07:00
searcher.rs librustc: Forbid inherent implementations that aren't adjacent to the 2014-09-13 02:07:39 -07:00