Skip to content

Commit

Permalink
Add new debug field
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnwa committed Sep 4, 2020
1 parent 4bf95d7 commit 153e57d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mutex.rs
Expand Up @@ -208,6 +208,7 @@ impl<T: Debug> Debug for MutexGuardFuture<'_, T> {
f.debug_struct("MutexGuardFuture")
.field("mutex", &self.mutex)
.field("id", &self.id)
.field("is_realized", &self.is_realized)
.finish()
}
}
Expand All @@ -225,6 +226,7 @@ impl<T: Debug> Debug for MutexOwnedGuardFuture<T> {
f.debug_struct("MutexGuardFuture")
.field("mutex", &self.mutex)
.field("id", &self.id)
.field("is_realized", &self.is_realized)
.finish()
}
}
Expand Down

0 comments on commit 153e57d

Please sign in to comment.