2 Checks whether a for loop is being used to push a constant
6 This kind of operation can be expressed more succinctly with
7 `vec![item; SIZE]` or `vec.resize(NEW_SIZE, item)` and using these alternatives may also
8 have better performance.
14 let mut vec: Vec<u8> = Vec::new();
27 let mut vec: Vec<u8> = vec![item1; 20];
28 vec.resize(20 + 30, item2);