File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -247,11 +247,11 @@ pub async fn capture_clang_tools_output(
247247 for file in files {
248248 let arc_params = Arc :: new ( clang_params. clone ( ) ) ;
249249 let arc_file = Arc :: clone ( file) ;
250- executors. spawn ( async move { analyze_single_file ( arc_file, arc_params) } ) ;
250+ executors. spawn ( analyze_single_file ( arc_file, arc_params) ) ;
251251 }
252252
253253 while let Some ( output) = executors. join_next ( ) . await {
254- let ( file_name, logs) = output?. await ?;
254+ let ( file_name, logs) = output??;
255255 rest_api_client. start_log_group ( format ! ( "Analyzing {}" , file_name. to_string_lossy( ) ) ) ;
256256 for ( level, msg) in logs {
257257 log:: log!( level, "{}" , msg) ;
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ pub async fn run_main(args: Vec<String>) -> Result<()> {
138138 clang_params. tidy_review &= is_pr;
139139 let user_inputs = FeedbackInput :: from ( & cli) ;
140140 let clang_versions = capture_clang_tools_output (
141- & mut arc_files,
141+ & arc_files,
142142 & cli. general_options . version ,
143143 & mut clang_params,
144144 & rest_api_client,
You can’t perform that action at this time.
0 commit comments