What does this program print?

from Collections
Rust 1.98 beginner 2 min

What does this program print?

Rust
fn main() {
    let mut tasks = vec!["parse", "index", "publish"];
    let first = tasks.remove(0);
    tasks.push("notify");

    println!("first: {first}");
    println!("left: {tasks:?}");
}
Open in playground
Report an error