1 2 3 4 5
fn minimal_chain(items: Vec<i32>) -> Vec<i32> { items.into_iter() .map(|x| x * 2) .collect() }