Use '_ for irrelevant lifetimes in Debug impl.
Co-authored-by: Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>
This commit is contained in:
parent
6b46a52577
commit
9099353ea8
|
@ -301,7 +301,7 @@ impl<'scope, T> ScopedJoinHandle<'scope, T> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'scope, 'env> fmt::Debug for Scope<'scope, 'env> {
|
||||
impl fmt::Debug for Scope<'_, '_> {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_struct("Scope")
|
||||
.field("num_running_threads", &self.data.num_running_threads.load(Ordering::Relaxed))
|
||||
|
|
Loading…
Reference in a new issue