Get rid of unused variable.

This commit is contained in:
Nicolás A. Ortega Froysa 2022-06-30 18:01:42 +02:00
parent 3affea8701
commit df21fd2c3f

View File

@ -31,7 +31,7 @@ fn main() {
{
let mut nums:Vec<u32> = (1..size+1).collect();
for _i in 0..nums.len()
while nums.len() > 0
{
let rand_i:usize = rand::random::<usize>() % nums.len();
boxes.push(nums[rand_i]);