add a missing `dyn`

This commit is contained in:
ljedrz 2018-07-11 16:08:38 +02:00
parent bbaf45d0f5
commit 6cfd49e8dd
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ cfg_if! {
t.into_par_iter()
}
pub type MetadataRef = OwningRef<Box<Erased + Send + Sync>, [u8]>;
pub type MetadataRef = OwningRef<Box<dyn Erased + Send + Sync>, [u8]>;
/// This makes locks panic if they are already held.
/// It is only useful when you are running in a single thread