File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ use crate::utils::tty::{stderr_isatty, stdout_isatty};
2525/// Allows concrete types for the currentprocess abstraction.
2626#[ derive( Clone , Debug ) ]
2727pub enum Process {
28- Os ( OSProcess ) ,
28+ Os ( OsProcess ) ,
2929 #[ cfg( feature = "test" ) ]
3030 Test ( TestProcess ) ,
3131}
3232
3333impl Process {
3434 pub fn os ( ) -> Self {
35- Self :: Os ( OSProcess :: new ( ) )
35+ Self :: Os ( OsProcess :: new ( ) )
3636 }
3737
3838 pub fn name ( & self ) -> Option < String > {
@@ -212,23 +212,23 @@ thread_local! {
212212// ----------- real process -----------------
213213
214214#[ derive( Clone , Debug ) ]
215- pub struct OSProcess {
215+ pub struct OsProcess {
216216 pub ( self ) stderr_is_a_tty : bool ,
217217 pub ( self ) stdout_is_a_tty : bool ,
218218}
219219
220- impl OSProcess {
220+ impl OsProcess {
221221 pub fn new ( ) -> Self {
222- OSProcess {
222+ OsProcess {
223223 stderr_is_a_tty : stderr_isatty ( ) ,
224224 stdout_is_a_tty : stdout_isatty ( ) ,
225225 }
226226 }
227227}
228228
229- impl Default for OSProcess {
229+ impl Default for OsProcess {
230230 fn default ( ) -> Self {
231- OSProcess :: new ( )
231+ OsProcess :: new ( )
232232 }
233233}
234234
You can’t perform that action at this time.
0 commit comments