]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #22455: msiemens/add-vec-from_elem
authorAlex Crichton <alex@alexcrichton.com>
Tue, 17 Feb 2015 23:15:01 +0000 (15:15 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 18 Feb 2015 01:26:44 +0000 (17:26 -0800)
Implement `Vec::from_elem` by making the `vec![element; len]` macro more powerful (see rust-lang/rfcs#832).

Closes #22414

r? @Gankro

1  2 
src/libcollections/vec.rs

Simple merge