From dba27b4402648b6a9272cda681ab8caaeb5d279d Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 25 Oct 2022 21:51:46 +0200 Subject: refactor: add Debug implementations for castable factories --- src/provider/async.rs | 1 + src/provider/blocking.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'src/provider') 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 {} -- cgit v1.2.3-18-g5258