@@ -189,6 +189,7 @@ impl<'a, B: Runnable> Runnable for &'a B {
189189///
190190/// [std]: https://doc.rust-lang.org/std/process/struct.Command.html
191191#[ must_use = "call `.run()` to run the command" ]
192+ #[ allow( clippy:: type_complexity) ]
192193pub struct Command < ' w , ' pl > {
193194 workspace : Option < & ' w Workspace > ,
194195 sandbox : Option < SandboxBuilder > ,
@@ -383,7 +384,7 @@ impl<'w, 'pl> Command<'w, 'pl> {
383384 } ;
384385
385386 builder = builder
386- . mount ( & source_dir, & * container_dirs:: WORK_DIR , MountKind :: ReadOnly )
387+ . mount ( & source_dir, & container_dirs:: WORK_DIR , MountKind :: ReadOnly )
387388 . env ( "SOURCE_DIR" , container_dirs:: WORK_DIR . to_str ( ) . unwrap ( ) )
388389 . workdir ( container_dirs:: WORK_DIR . to_str ( ) . unwrap ( ) )
389390 . cmd ( cmd) ;
@@ -402,12 +403,12 @@ impl<'w, 'pl> Command<'w, 'pl> {
402403 builder = builder
403404 . mount (
404405 & workspace. cargo_home ( ) ,
405- & * container_dirs:: CARGO_HOME ,
406+ & container_dirs:: CARGO_HOME ,
406407 MountKind :: ReadOnly ,
407408 )
408409 . mount (
409410 & workspace. rustup_home ( ) ,
410- & * container_dirs:: RUSTUP_HOME ,
411+ & container_dirs:: RUSTUP_HOME ,
411412 MountKind :: ReadOnly ,
412413 )
413414 . env ( "CARGO_HOME" , container_dirs:: CARGO_HOME . to_str ( ) . unwrap ( ) )
@@ -549,6 +550,7 @@ impl OutputKind {
549550 }
550551}
551552
553+ #[ allow( clippy:: type_complexity) ]
552554async fn log_command (
553555 mut cmd : AsyncCommand ,
554556 mut process_lines : Option < & mut dyn FnMut ( & str , & mut ProcessLinesActions ) > ,
0 commit comments