@@ -36,7 +36,7 @@ Some other content here.
3636
3737 // Run generator
3838 let output = Command :: new ( "cargo" )
39- . args ( & [ "run" , "--quiet" , "--" , "--dir" , temp_path. to_str ( ) . unwrap ( ) ] )
39+ . args ( [ "run" , "--quiet" , "--" , "--dir" , temp_path. to_str ( ) . unwrap ( ) ] )
4040 . current_dir ( env ! ( "CARGO_MANIFEST_DIR" ) )
4141 . output ( )
4242 . expect ( "Failed to execute generator" ) ;
@@ -149,7 +149,7 @@ Content after
149149 fs:: write ( temp_path. join ( "README.md" ) , test_readme) . unwrap ( ) ;
150150
151151 let output = Command :: new ( "cargo" )
152- . args ( & [ "run" , "--quiet" , "--" , "--dir" , temp_path. to_str ( ) . unwrap ( ) ] )
152+ . args ( [ "run" , "--quiet" , "--" , "--dir" , temp_path. to_str ( ) . unwrap ( ) ] )
153153 . current_dir ( env ! ( "CARGO_MANIFEST_DIR" ) )
154154 . output ( )
155155 . expect ( "Failed to execute generator" ) ;
@@ -196,7 +196,7 @@ End of file.
196196 fs:: write ( temp_path. join ( "README.md" ) , test_readme) . unwrap ( ) ;
197197
198198 let output = Command :: new ( "cargo" )
199- . args ( & [ "run" , "--quiet" , "--" , "--dir" , temp_path. to_str ( ) . unwrap ( ) ] )
199+ . args ( [ "run" , "--quiet" , "--" , "--dir" , temp_path. to_str ( ) . unwrap ( ) ] )
200200 . current_dir ( env ! ( "CARGO_MANIFEST_DIR" ) )
201201 . output ( )
202202 . expect ( "Failed to execute generator" ) ;
0 commit comments