@@ -2315,15 +2315,15 @@ impl<'a, T> IterMut<'a, T> {
23152315 self . cursor = Some ( Cursor :: Head ) ;
23162316 }
23172317
2318- let entry = unsafe { & mut ( * self . map ) . entries [ self . entry ] } ;
2318+ let entry = & mut unsafe { & mut * self . map } . entries [ self . entry ] ;
23192319
23202320 match self . cursor . unwrap ( ) {
23212321 Head => {
23222322 self . cursor = entry. links . map ( |l| Values ( l. next ) ) ;
23232323 Some ( ( & entry. key , & mut entry. value as * mut _ ) )
23242324 }
23252325 Values ( idx) => {
2326- let extra = unsafe { & mut ( * self . map ) . extra_values [ idx] } ;
2326+ let extra = & mut unsafe { & mut ( * self . map ) } . extra_values [ idx] ;
23272327
23282328 match extra. next {
23292329 Link :: Entry ( _) => self . cursor = None ,
@@ -2963,7 +2963,7 @@ impl<'a, T: 'a> Iterator for ValueIterMut<'a, T> {
29632963 fn next ( & mut self ) -> Option < Self :: Item > {
29642964 use self :: Cursor :: * ;
29652965
2966- let entry = unsafe { & mut ( * self . map ) . entries [ self . index ] } ;
2966+ let entry = & mut unsafe { & mut * self . map } . entries [ self . index ] ;
29672967
29682968 match self . front {
29692969 Some ( Head ) => {
@@ -2983,7 +2983,7 @@ impl<'a, T: 'a> Iterator for ValueIterMut<'a, T> {
29832983 Some ( & mut entry. value )
29842984 }
29852985 Some ( Values ( idx) ) => {
2986- let extra = unsafe { & mut ( * self . map ) . extra_values [ idx] } ;
2986+ let extra = & mut unsafe { & mut * self . map } . extra_values [ idx] ;
29872987
29882988 if self . front == self . back {
29892989 self . front = None ;
@@ -3006,7 +3006,7 @@ impl<'a, T: 'a> DoubleEndedIterator for ValueIterMut<'a, T> {
30063006 fn next_back ( & mut self ) -> Option < Self :: Item > {
30073007 use self :: Cursor :: * ;
30083008
3009- let entry = unsafe { & mut ( * self . map ) . entries [ self . index ] } ;
3009+ let entry = & mut unsafe { & mut * self . map } . entries [ self . index ] ;
30103010
30113011 match self . back {
30123012 Some ( Head ) => {
@@ -3015,7 +3015,7 @@ impl<'a, T: 'a> DoubleEndedIterator for ValueIterMut<'a, T> {
30153015 Some ( & mut entry. value )
30163016 }
30173017 Some ( Values ( idx) ) => {
3018- let extra = unsafe { & mut ( * self . map ) . extra_values [ idx] } ;
3018+ let extra = & mut unsafe { & mut * self . map } . extra_values [ idx] ;
30193019
30203020 if self . front == self . back {
30213021 self . front = None ;
0 commit comments