[][src]Constant termination::EXIT_SUCCESS

pub const EXIT_SUCCESS: i32 = 0;

Code signaling successful termination of the process.

Note that a ()-returning main implicitly results in a successful termination, so there's no need to return this from main unless you're also returning other possible codes.