From 9f365c6c347b5faf2119ef8b81a2828ce23c10ab Mon Sep 17 00:00:00 2001 From: "J.C. Jones" Date: Wed, 5 Aug 2020 20:52:21 -0700 Subject: [PATCH] stub fix --- src/stub/transaction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stub/transaction.rs b/src/stub/transaction.rs index 2e9ea2b..b697d54 100644 --- a/src/stub/transaction.rs +++ b/src/stub/transaction.rs @@ -13,7 +13,7 @@ impl Transaction { new_device_cb: F, ) -> Result where - F: Fn(String, &Fn() -> bool), + F: Fn(String, &dyn Fn() -> bool), { callback.call(Err(crate::Error::NotSupported)); Err(crate::Error::NotSupported)