Is main Special?
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.
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.