File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -658,7 +658,7 @@ pub struct IterMut<'a, T: TransparentPtrType> {
658
658
659
659
impl < ' a , T : TransparentPtrType > IterMut < ' a , T > {
660
660
#[ inline]
661
- fn new ( list : & ' a List < T > ) -> IterMut < ' a , T > {
661
+ fn new ( list : & ' a mut List < T > ) -> IterMut < ' a , T > {
662
662
debug_assert_eq ! (
663
663
mem:: size_of:: <T >( ) ,
664
664
mem:: size_of:: <<T as GlibPtrDefault >:: GlibType >( )
Original file line number Diff line number Diff line change @@ -652,7 +652,7 @@ pub struct IterMut<'a, T: TransparentPtrType> {
652
652
653
653
impl < ' a , T : TransparentPtrType > IterMut < ' a , T > {
654
654
#[ inline]
655
- fn new ( list : & ' a SList < T > ) -> IterMut < ' a , T > {
655
+ fn new ( list : & ' a mut SList < T > ) -> IterMut < ' a , T > {
656
656
debug_assert_eq ! (
657
657
mem:: size_of:: <T >( ) ,
658
658
mem:: size_of:: <<T as GlibPtrDefault >:: GlibType >( )
You can’t perform that action at this time.
0 commit comments