fn format_args(cmd: &Cmd) -> String {
    let mut args = cmd.args.iter()
        .fold(String::new(),
              |acc, arg| acc + arg + " ");
    args.pop();
    args
}
// A helper function use to format the output.
// Basiclly makes it possible to print a full command in one line
A helper function use to format the output.
Basiclly makes it possible to print a full command in one line
A helper function use to format the output . Basiclly makes it possible to print a full command in one line
fn format_args(cmd: &Cmd) -> String {
    let mut args = cmd.args.iter()
        .fold(String::new(),
              |acc, arg| acc + arg + " ");
    args.pop();
    args
}
fn format_args ( cmd : & Cmd ) -> String { let mut args = cmd . args . iter ( ) . fold ( String :: new ( ) , | acc , arg | acc + arg + " " ) ; args . pop ( ) ; args }
A helper function use to format the output.
A helper function use to format the output .
cmd
&Cmd
cmd
&Cmd