pub fn exit(argv: &[String]) -> BuiltinResult {
    // we cannot pas `std::process::exit` directly since we cannot make
    // `inner_exit` take a `FnOnce(i32) -> !` since `!` is an experimental type
    #![allow(clippy::redundant_closure)]
    inner_exit(argv, |n| std::process::exit(n))?;

    unreachable!()
}
/// Exit is a builtin for exiting out of the current shell session.
Exit is a builtin for exiting out of the current shell session.
Exit is a builtin for exiting out of the current shell session .
pub fn exit(argv: &[String]) -> BuiltinResult {
    // we cannot pas `std::process::exit` directly since we cannot make
    // `inner_exit` take a `FnOnce(i32) -> !` since `!` is an experimental type
    #![allow(clippy::redundant_closure)]
    inner_exit(argv, |n| std::process::exit(n))?;
    unreachable!()
}
pub fn exit ( argv : & [ String ] ) -> BuiltinResult { // we cannot pas `std::process::exit` directly since we cannot make // `inner_exit` take a `FnOnce(i32) -> !` since `!` is an experimental type # ! [ allow ( clippy redundant_closure ) ] inner_exit ( argv , | n | std :: process :: exit ( n ) ) ? ; unreachable ! ( ) }
Exit is a builtin for exiting out of the current shell session.
Exit is a builtin for exiting out of the current shell session .
argv
&[String]