@@ -650,7 +650,7 @@ impl<'a, K: 'a, V: 'a, Type> NodeRef<marker::Mut<'a>, K, V, Type> {
650
650
} else {
651
651
unsafe {
652
652
slice:: from_raw_parts_mut (
653
- MaybeUninit :: first_mut_ptr ( & mut ( * self . as_leaf_mut ( ) ) . keys ) ,
653
+ MaybeUninit :: first_ptr_mut ( & mut ( * self . as_leaf_mut ( ) ) . keys ) ,
654
654
self . len ( )
655
655
)
656
656
}
@@ -661,7 +661,7 @@ impl<'a, K: 'a, V: 'a, Type> NodeRef<marker::Mut<'a>, K, V, Type> {
661
661
debug_assert ! ( !self . is_shared_root( ) ) ;
662
662
unsafe {
663
663
slice:: from_raw_parts_mut (
664
- MaybeUninit :: first_mut_ptr ( & mut ( * self . as_leaf_mut ( ) ) . vals ) ,
664
+ MaybeUninit :: first_ptr_mut ( & mut ( * self . as_leaf_mut ( ) ) . vals ) ,
665
665
self . len ( )
666
666
)
667
667
}
@@ -749,7 +749,7 @@ impl<'a, K, V> NodeRef<marker::Mut<'a>, K, V, marker::Internal> {
749
749
slice_insert ( self . vals_mut ( ) , 0 , val) ;
750
750
slice_insert (
751
751
slice:: from_raw_parts_mut (
752
- MaybeUninit :: first_mut_ptr ( & mut self . as_internal_mut ( ) . edges ) ,
752
+ MaybeUninit :: first_ptr_mut ( & mut self . as_internal_mut ( ) . edges ) ,
753
753
self . len ( ) +1
754
754
) ,
755
755
0 ,
@@ -808,7 +808,7 @@ impl<'a, K, V> NodeRef<marker::Mut<'a>, K, V, marker::LeafOrInternal> {
808
808
ForceResult :: Internal ( mut internal) => {
809
809
let edge = slice_remove (
810
810
slice:: from_raw_parts_mut (
811
- MaybeUninit :: first_mut_ptr ( & mut internal. as_internal_mut ( ) . edges ) ,
811
+ MaybeUninit :: first_ptr_mut ( & mut internal. as_internal_mut ( ) . edges ) ,
812
812
old_len+1
813
813
) ,
814
814
0
@@ -1087,7 +1087,7 @@ impl<'a, K, V> Handle<NodeRef<marker::Mut<'a>, K, V, marker::Internal>, marker::
1087
1087
1088
1088
slice_insert (
1089
1089
slice:: from_raw_parts_mut (
1090
- MaybeUninit :: first_mut_ptr ( & mut self . node . as_internal_mut ( ) . edges ) ,
1090
+ MaybeUninit :: first_ptr_mut ( & mut self . node . as_internal_mut ( ) . edges ) ,
1091
1091
self . node . len ( )
1092
1092
) ,
1093
1093
self . idx + 1 ,
0 commit comments