File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed 
library/alloc/src/collections/btree/node Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,10 @@ fn test_splitpoint() {
6868
6969#[ test]  
7070fn  test_partial_eq ( )  { 
71-     let  mut  root1 = NodeRef :: new_leaf ( & Global ) ; 
71+     let  mut  root1 = NodeRef :: new_leaf ( Global ) ; 
7272    root1. borrow_mut ( ) . push ( 1 ,  ( ) ) ; 
73-     let  mut  root1 = NodeRef :: new_internal ( root1. forget_type ( ) ,  & Global ) . forget_type ( ) ; 
74-     let  root2 = Root :: new ( & Global ) ; 
73+     let  mut  root1 = NodeRef :: new_internal ( root1. forget_type ( ) ,  Global ) . forget_type ( ) ; 
74+     let  root2 = Root :: new ( Global ) ; 
7575    root1. reborrow ( ) . assert_back_pointers ( ) ; 
7676    root2. reborrow ( ) . assert_back_pointers ( ) ; 
7777
@@ -87,9 +87,9 @@ fn test_partial_eq() {
8787    assert ! ( top_edge_1 == top_edge_1) ; 
8888    assert ! ( top_edge_1 != top_edge_2) ; 
8989
90-     root1. pop_internal_level ( & Global ) ; 
91-     unsafe  {  root1. into_dying ( ) . deallocate_and_ascend ( & Global )  } ; 
92-     unsafe  {  root2. into_dying ( ) . deallocate_and_ascend ( & Global )  } ; 
90+     root1. pop_internal_level ( Global ) ; 
91+     unsafe  {  root1. into_dying ( ) . deallocate_and_ascend ( Global )  } ; 
92+     unsafe  {  root2. into_dying ( ) . deallocate_and_ascend ( Global )  } ; 
9393} 
9494
9595#[ test]  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments