fn split_args(args: &[String]) -> (&[String], &[String]) {
        if let Some(index) = args.iter().position(|arg| arg == ARG_SEPARATOR) {
            return (&args[..index], &args[index + 1..]);
        }

        (&args, &[])
    }
// Split `args` in two slices: one with the actual arguments of the process and the other with
// the extra arguments, meaning all parameters specified after `--`.
Split `args` in two slices: one with the actual arguments of the process and the other with
the extra arguments, meaning all parameters specified after `--`.
Split ` args ` in two slices : one with the actual arguments of the process and the other with the extra arguments meaning all parameters specified after ` -- ` .
fn split_args(args: &[String]) -> (&[String], &[String]) {
        if let Some(index) = args.iter().position(|arg| arg == ARG_SEPARATOR) {
            return (&args[..index], &args[index + 1..]);
        }
        (&args, &[])
    }
fn split_args ( args : & [ String ] ) -> ( & [ String ] , & [ String ] ) { if let Some ( index ) = args . iter ( ) . position ( | arg | arg == ARG_SEPARATOR ) { return ( & args [ .. index ] , & args [ index + 1 .. ] ) ; } ( & args , & [ ] ) }
Split `args` in two slices: one with the actual arguments of the process and the other with
the extra arguments, meaning all parameters specified after `--`.
Split ` args ` in two slices : one with the actual arguments of the process and the other with the extra arguments meaning all parameters specified after ` -- ` .
args
&[String]
args
&[String]