rust/src/libcollections
bors 98bbccf2c7 auto merge of #18291 : japaric/rust/dstify, r=aturon
This PR changes the signature of several methods from `foo(self, ...)` to `foo(&self, ...)`/`foo(&mut self, ...)`, but there is no breakage of the usage of these methods due to the autoref nature of `method.call()`s. This PR also removes the lifetime parameter from some traits (`Trait<'a>` -> `Trait`). These changes break any use of the extension traits for generic programming, but those traits are not meant to be used for generic programming in the first place. In the whole rust distribution there was only one misuse of a extension trait as a bound, which got corrected (the bound was unnecessary and got removed) as part of this PR.

I've kept the commits as small and self-contained as possible for reviewing sake, but I can squash them when the review is over.

See this [table] to get an idea of what's left to be done. I've already DSTified [`Show`][show] and I'm working on `Hash`, but bootstrapping those changes seem to require a more recent snapshot (#18259 does the trick)

r? @aturon 
cc #16918 

[show]: https://github.com/japaric/rust/commits/show
[table]: https://docs.google.com/spreadsheets/d/1MZ_iSNuzsoqeS-mtLXnj9m0hBYaH5jI8k9G_Ud8FT5g/edit?usp=sharing
2014-10-28 19:56:56 +00:00
..
btree Fix spelling mistakes in comments. 2014-10-25 23:11:17 -04:00
hash libcollections: Remove all uses of {:?}. 2014-10-16 11:15:35 -04:00
bitv.rs Removes useless confs from bitv.rs 2014-10-16 14:41:00 +02:00
deque.rs A few minor documentation fixes 2014-08-19 17:22:18 +12:00
dlist.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
enum_set.rs make EnumSet derive Ord and PartialOrd 2014-09-27 16:47:53 -04:00
lib.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
macros.rs A few minor documentation fixes 2014-08-19 17:22:18 +12:00
priority_queue.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
ringbuf.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
slice.rs DSTify [T]/str extension traits 2014-10-27 20:20:08 -05:00
smallintmap.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
str.rs DSTify [T]/str extension traits 2014-10-27 20:20:08 -05:00
string.rs Make the Vec data structure layout match raw::Slice. 2014-10-24 20:12:53 -07:00
treemap.rs Add a lint for not using field pattern shorthands 2014-10-24 15:44:18 +13:00
trie.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
vec.rs auto merge of #18254 : areski/rust/pr-fix-vec-doc-example, r=alexcrichton 2014-10-28 10:11:51 +00:00