Mutable vector of numbers, append (push) values



examples/vectors/mutable-numbers-vector/src/main.rs
fn main() {
    let mut numbers = vec![10, 11, 12];
    println!("{}", numbers.len());
    println!("{:?}", numbers);

    numbers.push(23);

    println!("{}", numbers.len());
    println!("{:?}", numbers);
}

3
[10, 11, 12]
4
[10, 11, 12, 23]