rust/src/librustc_data_structures
Ulrik Sverdrup 836f32e769 Use vec![elt; n] where possible
The common pattern `iter::repeat(elt).take(n).collect::<Vec<_>>()` is
exactly equivalent to `vec![elt; n]`, do this replacement in the whole
tree.

(Actually, vec![] is smart enough to only call clone n - 1 times, while
the former solution would call clone n times, and this fact is
virtually irrelevant in practice.)
2015-07-09 11:05:32 +02:00
..
graph Expand the "givens" set to cover transitive relations. The givens array 2015-06-19 12:22:03 -04:00
unify Change name of unit test sub-module to "tests". 2015-04-24 23:06:41 +02:00
bitvec.rs Use vec![elt; n] where possible 2015-07-09 11:05:32 +02:00
lib.rs Make stability attributes an error. #22830 2015-04-20 17:33:31 -07:00
snapshot_vec.rs Use the newer snapshot_vec, which has a simplified delegate 2015-04-17 10:12:55 -04:00