- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.8k
          Extend unnecessary_to_owned to handle Borrow trait in map types 
          #12324
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
593e028    to
    b636171      
    Compare
  
    | It allowed to detect two cases just in clippy, nice. :) | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a nice addition to the lint 👍 Makes sense to me to have this here.
b636171    to
    1611d3d      
    Compare
  
    | Updated! | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two more things and then I think it LGTM
1611d3d    to
    eaa0710      
    Compare
  
    | Updated! | 
eaa0710    to
    635acb6      
    Compare
  
    | Reverted the  | 
| Looks great now, thanks! :) @bors r+ | 
| 💔 Test failed - checks-action_test | 
| @bors retry | 
| ☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test | 
| Thanks for the great suggestions! | 
Fixes #8088.
Alternative to #12315.
r? @y21
changelog: Extend
unnecessary_to_ownedto handleBorrowtrait in map types