summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-09-26 11:53:32 +0200
committerNeal H. Walfield <neal@pep.foundation>2019-09-27 22:12:11 +0200
commit424ce126a56660168f8284fa34ae80cb93d74289 (patch)
tree2c0440c1f3b0d557def5e1a496ee4ede22045a9b /ipc
parenta69ec9f9c5097bb8acd1a4fe2144328c9dc4ade7 (diff)
linting: Clear up bare trait object warnings
Newer Rust compilers requre `dyn` marking trait objects. Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'ipc')
-rw-r--r--ipc/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/src/lib.rs b/ipc/src/lib.rs
index 5633f3f8..c4df9311 100644
--- a/ipc/src/lib.rs
+++ b/ipc/src/lib.rs
@@ -93,7 +93,7 @@ pub trait Handler {
/// A factory for handlers.
pub type HandlerFactory = fn(descriptor: Descriptor,
handle: tokio_core::reactor::Handle)
- -> Result<Box<Handler>>;
+ -> Result<Box<dyn Handler>>;
/// A descriptor is used to connect to a service.
#[derive(Clone)]