Drücken Sie Array -Werte in einen Vektor in Rost

fn main() {
    let presents = [
        "A song and a Christmas tree",
        "Two candy canes",
        "Three boughs of holly",
    ];

    let mut current_presents = Vec::new();

    for (day, present) in presents.iter().enumerate() {
        current_presents.push(present);
        println!(
            "On the {} day of Christmas my good friends brought to me",
            day
        );
        println!("{current_presents:?}\n");
    }
}
SAMER SAEID