diff --git a/src/mmap_view_sync.rs b/src/mmap_view_sync.rs index 60982d9..26cc9a5 100644 --- a/src/mmap_view_sync.rs +++ b/src/mmap_view_sync.rs @@ -147,6 +147,7 @@ impl From for MmapViewSync { fn from(mmap: MmapMut) -> MmapViewSync { let len = mmap.len(); MmapViewSync { + #[allow(clippy::arc_with_non_send_sync)] inner: Arc::new(UnsafeCell::new(mmap)), offset: 0, len,