diff options
| author | Botahamec <botahamec@outlook.com> | 2025-01-12 15:04:01 -0500 |
|---|---|---|
| committer | Botahamec <botahamec@outlook.com> | 2025-01-12 15:04:01 -0500 |
| commit | 280a61ad7b74019c7aad8b7306a0dd7cfb11359c (patch) | |
| tree | 40d97d4e183c1bc551194944876b099d875f361d /src/poisonable/error.rs | |
| parent | bf95904b3532a9175a7bfa14a3f216abbd15ee98 (diff) | |
More unit tests
Diffstat (limited to 'src/poisonable/error.rs')
| -rw-r--r-- | src/poisonable/error.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/poisonable/error.rs b/src/poisonable/error.rs index d543294..9721ce4 100644 --- a/src/poisonable/error.rs +++ b/src/poisonable/error.rs @@ -3,6 +3,7 @@ use std::error::Error; use super::{PoisonError, PoisonGuard, TryLockPoisonableError}; +#[mutants::skip] impl<Guard> fmt::Debug for PoisonError<Guard> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.debug_struct("PoisonError").finish_non_exhaustive() @@ -149,6 +150,7 @@ impl<Guard> PoisonError<Guard> { } } +#[mutants::skip] impl<G, Key> fmt::Debug for TryLockPoisonableError<'_, '_, G, Key> { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match *self { |
