Skip to main content

main

Function main 

Source
pub fn main(bin: &str, body: impl FnOnce() -> Result<()>) -> ExitCode
Expand description

Parse-free entry: print {bin}: {error:#} and return 1.