rust/src/libstd/collections/hash
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
..
bench.rs cleanup: Remove unused braces in use statements 2015-03-28 02:23:20 -07:00
map.rs Use vec![elt; n] where possible 2015-07-09 11:05:32 +02:00
mod.rs Register new snapshots 2015-02-20 22:17:17 -08:00
set.rs std: Split the std_misc feature 2015-06-17 09:06:59 -07:00
state.rs typo "struct has is 0-sized" 2015-07-06 13:58:37 +02:00
table.rs Make align_of behave like min_align_of. 2015-06-24 17:00:43 -07:00