style: Rustfmt + build fix.

This commit is contained in:
Emilio Cobos Álvarez 2019-05-09 19:12:32 +02:00
parent f429c28f23
commit db2f6aa8ca
9 changed files with 33 additions and 28 deletions

View file

@ -21,7 +21,7 @@ const ARC_SLICE_CANARY: u32 = 0xf3f3f3f3;
/// cbindgen:derive-eq=false
/// cbindgen:derive-neq=false
#[repr(C)]
#[derive(Debug, Clone, PartialEq, Eq, ToShmem)]
#[derive(Clone, Debug, Eq, PartialEq, ToShmem)]
pub struct ArcSlice<T>(#[shmem(field_bound)] ThinArc<u32, T>);
impl<T> Deref for ArcSlice<T> {