@@ -501,7 +501,7 @@ fn handle_archive(
501
501
}
502
502
503
503
if best_compression {
504
- command2. args ( & [ "-9" , "-e" ] ) ;
504
+ command2. args ( [ "-9" , "-e" ] ) ;
505
505
}
506
506
507
507
command2. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -538,7 +538,7 @@ fn handle_archive(
538
538
}
539
539
540
540
if best_compression {
541
- command2. args ( & [ "-9" , "-e" ] ) ;
541
+ command2. args ( [ "-9" , "-e" ] ) ;
542
542
}
543
543
544
544
command2. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -577,7 +577,7 @@ fn handle_archive(
577
577
}
578
578
579
579
if best_compression {
580
- command2. args ( & [ "-9" , "-e" ] ) ;
580
+ command2. args ( [ "-9" , "-e" ] ) ;
581
581
}
582
582
583
583
command2. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -614,7 +614,7 @@ fn handle_archive(
614
614
}
615
615
616
616
if best_compression {
617
- command2. args ( & [ "-9" , "-e" ] ) ;
617
+ command2. args ( [ "-9" , "-e" ] ) ;
618
618
}
619
619
620
620
command2. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -655,7 +655,7 @@ fn handle_archive(
655
655
) ;
656
656
657
657
if best_compression {
658
- command2. args ( & [ "-m0=lzma2" , "-mx" , "-ms=on" ] ) ;
658
+ command2. args ( [ "-m0=lzma2" , "-mx" , "-ms=on" ] ) ;
659
659
}
660
660
661
661
if !password. is_empty ( ) {
@@ -708,7 +708,7 @@ fn handle_archive(
708
708
}
709
709
710
710
if best_compression {
711
- command2. args ( & [ "--ultra" , "-22" ] ) ;
711
+ command2. args ( [ "--ultra" , "-22" ] ) ;
712
712
}
713
713
714
714
let output = command1. execute_multiple_output ( & mut [ & mut command2] ) ?;
@@ -726,7 +726,7 @@ fn handle_archive(
726
726
}
727
727
728
728
if best_compression {
729
- command2. args ( & [ "--ultra" , "-22" ] ) ;
729
+ command2. args ( [ "--ultra" , "-22" ] ) ;
730
730
}
731
731
732
732
let output = command1. execute_multiple_output ( & mut [ & mut command2] ) ?;
@@ -1088,7 +1088,7 @@ fn handle_archive(
1088
1088
}
1089
1089
1090
1090
if best_compression {
1091
- command. args ( & [ "-9" , "-e" ] ) ;
1091
+ command. args ( [ "-9" , "-e" ] ) ;
1092
1092
}
1093
1093
1094
1094
command. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -1123,7 +1123,7 @@ fn handle_archive(
1123
1123
}
1124
1124
1125
1125
if best_compression {
1126
- command. args ( & [ "-9" , "-e" ] ) ;
1126
+ command. args ( [ "-9" , "-e" ] ) ;
1127
1127
}
1128
1128
1129
1129
command. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -1167,7 +1167,7 @@ fn handle_archive(
1167
1167
}
1168
1168
1169
1169
if best_compression {
1170
- command. args ( & [ "-9" , "-e" ] ) ;
1170
+ command. args ( [ "-9" , "-e" ] ) ;
1171
1171
}
1172
1172
1173
1173
command. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -1202,7 +1202,7 @@ fn handle_archive(
1202
1202
}
1203
1203
1204
1204
if best_compression {
1205
- command. args ( & [ "-9" , "-e" ] ) ;
1205
+ command. args ( [ "-9" , "-e" ] ) ;
1206
1206
}
1207
1207
1208
1208
command. stdout ( File :: create ( output_path. as_ref ( ) ) ?) ;
@@ -1236,7 +1236,7 @@ fn handle_archive(
1236
1236
command_args ! ( p7z_path, "a" , "-t7z" , "-aoa" , format!( "-mmt{}" , threads) ) ;
1237
1237
1238
1238
if best_compression {
1239
- command. args ( & [ "-m0=lzma2" , "-mx" , "-ms=on" ] ) ;
1239
+ command. args ( [ "-m0=lzma2" , "-mx" , "-ms=on" ] ) ;
1240
1240
}
1241
1241
1242
1242
if !password. is_empty ( ) {
@@ -1413,7 +1413,7 @@ fn handle_archive(
1413
1413
let mut command = command_args ! ( rar_path, "a" , "-ep1" , format!( "-mt{}" , threads) ) ;
1414
1414
1415
1415
if best_compression {
1416
- command. args ( & [ "-ma5" , "-m5" , "-s" ] ) ;
1416
+ command. args ( [ "-ma5" , "-m5" , "-s" ] ) ;
1417
1417
}
1418
1418
1419
1419
if !password. is_empty ( ) {
@@ -1470,7 +1470,7 @@ fn handle_archive(
1470
1470
}
1471
1471
1472
1472
if best_compression {
1473
- command. args ( & [ "--ultra" , "-22" ] ) ;
1473
+ command. args ( [ "--ultra" , "-22" ] ) ;
1474
1474
}
1475
1475
1476
1476
let output = command. execute_output ( ) ?;
@@ -1488,7 +1488,7 @@ fn handle_archive(
1488
1488
}
1489
1489
1490
1490
if best_compression {
1491
- command. args ( & [ "--ultra" , "-22" ] ) ;
1491
+ command. args ( [ "--ultra" , "-22" ] ) ;
1492
1492
}
1493
1493
1494
1494
let output = command. execute_output ( ) ?;
@@ -2180,7 +2180,7 @@ fn handle_extract(
2180
2180
command. arg ( "-qq" ) ;
2181
2181
}
2182
2182
2183
- command. args ( & [ "-O" , "UTF-8" , "-o" ] ) ;
2183
+ command. args ( [ "-O" , "UTF-8" , "-o" ] ) ;
2184
2184
command. arg ( input_path) ;
2185
2185
command. arg ( "-d" ) ;
2186
2186
command. arg ( output_path. as_ref ( ) ) ;
0 commit comments