aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2019-10-18 12:37:03 +0200
committerDirk Van Haerenborgh <vhdirk@gmail.com>2019-10-18 12:37:03 +0200
commit5814ba78327e8194c4999c73d4334a4f840f75fa (patch)
treeb0c39a0bdbdd649c13fd7e1ed9ed49794fad9d40
parenta2a415cde2bbf62f2d8351900e0fcd9373cb3d67 (diff)
downloadmail-5814ba78327e8194c4999c73d4334a4f840f75fa.tar.gz
support updated toolchain
-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>;