File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ fn show_usage() {
13
13
14
14
pub fn run ( ) -> Result < ( ) , String > {
15
15
let mut args = std:: env:: args ( ) . skip ( 2 ) ;
16
+ // FractalFir: In the future, I'd like to add some more subcommands / options.
17
+ // So, this loop ought to stay for that purpose. It should also stay as a while loop(to parse args)
18
+ #[ allow( clippy:: never_loop, while_let_on_iterator) ]
16
19
while let Some ( arg) = args. next ( ) {
17
20
match arg. as_str ( ) {
18
21
"--help" => {
@@ -56,7 +59,7 @@ pub fn run() -> Result<(), String> {
56
59
& "c_calls_cg_gcc" ,
57
60
] ;
58
61
// Run ABI cafe.
59
- run_command_with_output ( cmd, Some ( & Path :: new ( "clones/abi-cafe" ) ) ) ?;
62
+ run_command_with_output ( cmd, Some ( Path :: new ( "clones/abi-cafe" ) ) ) ?;
60
63
61
64
Ok ( ( ) )
62
65
}
You can’t perform that action at this time.
0 commit comments