Macro cradle::cmd_unit[][src]

macro_rules! cmd_unit {
    ($($args : tt) *) => { ... };
}
Expand description

Like cmd!, but fixes the return type to (). It’s named after the unit type ().

use cradle::prelude::*;

cmd_unit!(%"touch ./foo");