aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Cargo.toml2
-rw-r--r--src/utils.rs4
2 files changed, 3 insertions, 3 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 6cbdfad..5b8191c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@ travis-ci = { repository = "vhdirk/notmuch-rs" }
[dependencies]
libc = "0.2"
-clippy = { version = "0.0.193", optional = true }
+# clippy = { version = "0.0.211", optional = true }
supercow = "0.1.0"
[dev-dependencies]
diff --git a/src/utils.rs b/src/utils.rs
index 5bfb5d0..022d508 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -30,11 +30,11 @@ impl ToString for *const libc::c_char {
// BoxedStorage>;
pub type ScopedPhantomcow<'a, OWNED, BORROWED = OWNED,
- SHARED = Box<DefaultFeatures<'a> + 'a>,
+ SHARED = Box<dyn DefaultFeatures<'a> + 'a>,
STORAGE = BoxedStorage> =
Supercow<'a, OWNED, BORROWED, SHARED, STORAGE, ()>;
-pub type ScopedSupercow<'a, OWNED, BORROWED = OWNED, SHARED = Box<DefaultFeatures<'a> + 'a>> =
+pub type ScopedSupercow<'a, OWNED, BORROWED = OWNED, SHARED = Box<dyn DefaultFeatures<'a> + 'a>> =
Supercow<'a, OWNED, BORROWED, SHARED, BoxedStorage>;