Skip to content

Commit 1f5c82d

Browse files
committed
refactor(process): rename TestProcess::_guard to _tracing_guard
1 parent 238e472 commit 1f5c82d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/process.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ impl Default for OsProcess {
180180
pub struct TestProcess {
181181
pub process: Process,
182182
pub console_filter: Handle<EnvFilter, Registry>,
183-
_guard: DefaultGuard, // guard is dropped at the end of the test
183+
_tracing_guard: DefaultGuard, // guard is dropped at the end of the test
184184
}
185185

186186
#[cfg(feature = "test")]
@@ -237,7 +237,7 @@ impl From<TestContext> for TestProcess {
237237
Self {
238238
process: inner,
239239
console_filter,
240-
_guard: tracing_subscriber.set_default(),
240+
_tracing_guard: tracing_subscriber.set_default(),
241241
}
242242
}
243243
}

0 commit comments

Comments
 (0)