- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.8k
          fix(use_debug): don't get confused by nested Debug impls
          #15946
        
          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
Debug implsDebug impls
      | @rustbot ready | 
| A better alternative is to use an  if self.id == Some(item.owner_id) {
  self.id = None;
}This reduces the amount of work done here by a fair bit and leaves no room for messing up the condition if things get more complicated later. | 
| @Jarcho I must confess that I sometimes find it hard to understand your proposals as they're often very succinct -- I'd appreciate it if you could give a bit more detail. Thanks in advance:) I think this should be what you meant | 
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.
Thank you.
Fixes #15942
changelog: [
use_debug]: don't get confused by nestedDebugimpls