diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-10-18 12:37:03 +0200 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-10-18 12:37:03 +0200 |
| commit | 5814ba78327e8194c4999c73d4334a4f840f75fa (patch) | |
| tree | b0c39a0bdbdd649c13fd7e1ed9ed49794fad9d40 | |
| parent | a2a415cde2bbf62f2d8351900e0fcd9373cb3d67 (diff) | |
| download | mail-5814ba78327e8194c4999c73d4334a4f840f75fa.tar.gz | |
support updated toolchain
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/utils.rs | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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>; |
