diff options
Diffstat (limited to 'src/utils.rs')
| -rw-r--r-- | src/utils.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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>; |
