Skip to content

Commit 975098e

Browse files
committed
Rename OSProcess to OsProcess
1 parent f59f784 commit 975098e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/currentprocess/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff 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)]
2727
pub enum Process {
28-
Os(OSProcess),
28+
Os(OsProcess),
2929
#[cfg(feature = "test")]
3030
Test(TestProcess),
3131
}
3232

3333
impl 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

0 commit comments

Comments
 (0)