File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ fn main() {
3333 cli. command
3434 } ;
3535
36- let chdir = cli. working_directory . map ( |wd| format ! ( "--chdir={}" , wd ) ) ;
36+ let chdir = cli. working_directory . map ( |wd| format ! ( "--chdir={wd}" ) ) ;
3737
3838 let non_interactive = if cli. non_interactive {
3939 Some ( "--no-ask-password" )
@@ -57,15 +57,15 @@ fn main() {
5757
5858 vars. iter ( )
5959 . filter ( |e| !( cli. set_home && * e == "HOME" ) )
60- . map ( |e| format ! ( "--setenv={}" , e ) )
60+ . map ( |e| format ! ( "--setenv={e}" ) )
6161 . collect ( )
6262 } else {
6363 Vec :: new ( )
6464 } ;
6565
6666 let nofile = cli
6767 . file_descriptor_limit
68- . map ( |limit_nofile| format ! ( "--property=LimitNOFILE={}" , limit_nofile ) ) ;
68+ . map ( |limit_nofile| format ! ( "--property=LimitNOFILE={limit_nofile}" ) ) ;
6969
7070 if command. is_empty ( ) && !cli. login {
7171 let mut cmd = clap:: Command :: new ( env ! ( "CARGO_PKG_NAME" ) ) ;
You can’t perform that action at this time.
0 commit comments