aboutsummaryrefslogtreecommitdiff
path: root/src/provider
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-10-25 21:51:46 +0200
committerHampusM <hampus@hampusmat.com>2022-10-25 21:51:46 +0200
commitdba27b4402648b6a9272cda681ab8caaeb5d279d (patch)
treec7044883595aa706cab508175bcb99e9f4bfc492 /src/provider
parent8c6431fd834337be7f6b88e3c8a29c6a17e0b9cf (diff)
refactor: add Debug implementations for castable factories
Diffstat (limited to 'src/provider')
-rw-r--r--src/provider/async.rs1
-rw-r--r--src/provider/blocking.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/provider/async.rs b/src/provider/async.rs
index 53cadc8..8d482cd 100644
--- a/src/provider/async.rs
+++ b/src/provider/async.rs
@@ -320,6 +320,7 @@ mod tests
use crate::interfaces::any_factory::AnyThreadsafeFactory;
use crate::ptr::ThreadsafeFactoryPtr;
+ #[derive(Debug)]
struct FooFactory;
impl AnyThreadsafeFactory for FooFactory {}
diff --git a/src/provider/blocking.rs b/src/provider/blocking.rs
index 3de77e4..e1e2aad 100644
--- a/src/provider/blocking.rs
+++ b/src/provider/blocking.rs
@@ -214,6 +214,7 @@ mod tests
use crate::interfaces::any_factory::AnyFactory;
use crate::ptr::FactoryPtr;
+ #[derive(Debug)]
struct FooFactory;
impl AnyFactory for FooFactory {}