Is main Special?

We'll cover the following...

Is the main function special? Yes and no. On the “no” side, main is defined just like any other function. The name it has isn’t off limits in any way, it can be used like any other name in Rust.

Press + to interact
fn main() {
let main = "I can reuse the name main";
println!("main == {}", main);
}

However, main is ...