File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -149,25 +149,23 @@ impl Process {
149149 }
150150 }
151151
152- pub ( crate ) fn stdout ( & self ) -> terminal_source :: ColorableTerminal {
152+ pub ( crate ) fn stdout ( & self ) -> ColorableTerminal {
153153 match self {
154- Process :: OsProcess ( _) => terminal_source :: ColorableTerminal :: stdout ( self ) ,
154+ Process :: OsProcess ( _) => ColorableTerminal :: stdout ( self ) ,
155155 #[ cfg( feature = "test" ) ]
156- Process :: TestProcess ( p) => terminal_source:: ColorableTerminal :: test (
157- file_source:: TestWriter ( p. stdout . clone ( ) ) ,
158- self ,
159- ) ,
156+ Process :: TestProcess ( p) => {
157+ ColorableTerminal :: test ( file_source:: TestWriter ( p. stdout . clone ( ) ) , self )
158+ }
160159 }
161160 }
162161
163- pub ( crate ) fn stderr ( & self ) -> terminal_source :: ColorableTerminal {
162+ pub ( crate ) fn stderr ( & self ) -> ColorableTerminal {
164163 match self {
165- Process :: OsProcess ( _) => terminal_source :: ColorableTerminal :: stderr ( self ) ,
164+ Process :: OsProcess ( _) => ColorableTerminal :: stderr ( self ) ,
166165 #[ cfg( feature = "test" ) ]
167- Process :: TestProcess ( p) => terminal_source:: ColorableTerminal :: test (
168- file_source:: TestWriter ( p. stderr . clone ( ) ) ,
169- self ,
170- ) ,
166+ Process :: TestProcess ( p) => {
167+ ColorableTerminal :: test ( file_source:: TestWriter ( p. stderr . clone ( ) ) , self )
168+ }
171169 }
172170 }
173171
You can’t perform that action at this time.
0 commit comments