diff options
Diffstat (limited to 'components/to_shmem/lib.rs')
-rw-r--r-- | components/to_shmem/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/to_shmem/lib.rs b/components/to_shmem/lib.rs index 96dfbb3a5e9..07c5fc9ccaa 100644 --- a/components/to_shmem/lib.rs +++ b/components/to_shmem/lib.rs @@ -311,7 +311,7 @@ where /// Writes all the items in `src` into a slice in the shared memory buffer and /// returns a pointer to the slice. -unsafe fn to_shmem_slice<'a, T, I>(src: I, builder: &mut SharedMemoryBuilder) -> *mut [T] +pub unsafe fn to_shmem_slice<'a, T, I>(src: I, builder: &mut SharedMemoryBuilder) -> *mut [T] where T: 'a + ToShmem, I: ExactSizeIterator<Item = &'a T>, |