Skip to content

Commit 4ecc8ff

Browse files
committed
Changed the type stored in the PhantomData in BitSliceMut from &'a S to &'a mut S.
1 parent 2c21dbf commit 4ecc8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bit_slice_mut.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use FALSE;
1313
pub struct BitSliceMut<'a, S: BitStorage + 'a> {
1414
pointer: *mut S,
1515
capacity: usize,
16-
phantom: PhantomData<&'a S>
16+
phantom: PhantomData<&'a mut S>
1717
}
1818

1919
unsafe impl<'a, S: BitStorage + 'a> Send for BitSliceMut<'a, S> {}

0 commit comments

Comments
 (0)