File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -762,7 +762,7 @@ fn parse_word_parts(
762762 if_true ( parse_escaped_char ( '\'' ) , move |_| {
763763 mode == ParseWordPartsMode :: DoubleQuotes
764764 } ) ,
765- )
765+ ) ,
766766 )
767767 }
768768
Original file line number Diff line number Diff line change @@ -904,9 +904,8 @@ fn evaluate_word_parts(
904904 None
905905 }
906906 WordPart :: Variable ( name) => state. get_var ( OsStr :: new ( & name) ) . cloned ( ) ,
907- WordPart :: Tilde => {
908- sys_traits:: impls:: real_home_dir_with_env ( state) . map ( |s| s. into_os_string ( ) )
909- }
907+ WordPart :: Tilde => sys_traits:: impls:: real_home_dir_with_env ( state)
908+ . map ( |s| s. into_os_string ( ) ) ,
910909 WordPart :: Command ( list) => Some (
911910 evaluate_command_substitution (
912911 list,
Original file line number Diff line number Diff line change @@ -207,9 +207,9 @@ impl ShellState {
207207}
208208
209209impl sys_traits:: BaseEnvVar for ShellState {
210- fn base_env_var_os ( & self , key : & OsStr ) -> Option < OsString > {
211- self . env_vars . get ( key) . cloned ( )
212- }
210+ fn base_env_var_os ( & self , key : & OsStr ) -> Option < OsString > {
211+ self . env_vars . get ( key) . cloned ( )
212+ }
213213}
214214
215215#[ derive( Debug , PartialEq , Eq ) ]
You can’t perform that action at this time.
0 commit comments