From 5814ba78327e8194c4999c73d4334a4f840f75fa Mon Sep 17 00:00:00 2001 From: Dirk Van Haerenborgh Date: Fri, 18 Oct 2019 12:37:03 +0200 Subject: support updated toolchain --- Cargo.toml | 2 +- src/utils.rs | 4 ++-- 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 + 'a>, + SHARED = Box + 'a>, STORAGE = BoxedStorage> = Supercow<'a, OWNED, BORROWED, SHARED, STORAGE, ()>; -pub type ScopedSupercow<'a, OWNED, BORROWED = OWNED, SHARED = Box + 'a>> = +pub type ScopedSupercow<'a, OWNED, BORROWED = OWNED, SHARED = Box + 'a>> = Supercow<'a, OWNED, BORROWED, SHARED, BoxedStorage>; -- cgit v1.2.1