File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,6 @@ use crate::elements::word::Word;
12
12
use crate :: utils:: exit;
13
13
use nix:: unistd:: Pid ;
14
14
15
- #[ derive( Debug , Clone ) ]
16
- enum SubsArgType {
17
- Subs ( Box < Substitution > ) , //clippyの指示でBoxに
18
- Other ( Word ) ,
19
- }
20
-
21
15
#[ derive( Debug , Default , Clone ) ]
22
16
pub struct SimpleCommand {
23
17
text : String ,
@@ -26,8 +20,6 @@ pub struct SimpleCommand {
26
20
args : Vec < String > ,
27
21
redirects : Vec < Redirect > ,
28
22
force_fork : bool ,
29
- substitutions_as_args : Vec < SubsArgType > ,
30
- command_name : String ,
31
23
}
32
24
33
25
impl Command for SimpleCommand {
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use crate::elements::command;
7
7
use crate :: elements:: substitution:: Substitution ;
8
8
use crate :: elements:: word:: Word ;
9
9
use crate :: utils;
10
- use super :: { SimpleCommand , SubsArgType } ;
10
+ use super :: SimpleCommand ;
11
11
12
12
impl SimpleCommand {
13
13
pub fn eat_substitution ( & mut self , feeder : & mut Feeder , core : & mut ShellCore )
You can’t perform that action at this time.
0 commit comments