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 @@ -31,7 +31,7 @@ struct Foo;
3131impl PartialEq for Foo {
3232    // Allow this here, because it emits the lint
3333    // without a suggestion. This is tested in
34-     // `tests/ui/cmp_owned_without_suggestion .rs`
34+     // `tests/ui/cmp_owned/without_suggestion .rs`
3535    #[allow(clippy::cmp_owned)]
3636    fn eq(&self, other: &Self) -> bool {
3737        self.to_owned() == *other
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ struct Foo;
3131impl  PartialEq  for  Foo  { 
3232    // Allow this here, because it emits the lint 
3333    // without a suggestion. This is tested in 
34-     // `tests/ui/cmp_owned_without_suggestion .rs` 
34+     // `tests/ui/cmp_owned/without_suggestion .rs` 
3535    #[ allow( clippy:: cmp_owned) ]  
3636    fn  eq ( & self ,  other :  & Self )  -> bool  { 
3737        self . to_owned ( )  == * other
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments