File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed 
module/core/format_tools/tests/inc Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,7 @@ fn iterator_over_optional_cow()
3333  #[  derive(  Debug ,  Clone  )  ]  
3434  pub  struct  TestObjecWrap (  TestObjectWithoutImpl  ) ; 
3535
36-   // xxx : that should fail 
3736  impl  TableWithFields  for  TestObjecWrap  { } 
38- 
3937  impl  Fields <  & ' _  str ,  Option <  Cow <  ' _ ,  str  >  >  > 
4038  for  TestObjecWrap 
4139  { 
@@ -45,13 +43,9 @@ fn iterator_over_optional_cow()
4543    fn  fields (  & self  )  -> impl  IteratorTrait <  Item  = (  & ' _  str ,  Option <  Cow <  ' _ ,  str  >  >  )  > 
4644    { 
4745      use  format_tools:: ref_or_display_or_debug_multiline:: field; 
48-       // use format_tools::ref_or_display_or_debug::field; 
49-       let  mut  dst :  Vec <  (  & ' _  str ,  Option <  Cow <  ' _ ,  str  >  >  )  >  = Vec :: new ( ) ; 
46+       let  mut  dst = Vec :: new ( ) ; 
5047
51-       // trace_macros!( true ); 
5248      dst. push (  field ! (  & self . 0 . id )  ) ; 
53-       // trace_macros!( false ); 
54- 
5549      dst. push (  field ! (  & self . 0 . created_at )  ) ; 
5650      dst. push (  field ! (  & self . 0 . file_ids )  ) ; 
5751
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments