-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Fix some problems #3535
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
Fix some problems #3535
Conversation
Is there any reason for 328e105? Otherwise r=me 🎇 |
☔ The latest upstream changes (presumably #3529) made this pull request unmergeable. Please resolve the merge conflicts. |
These are not equivalent: let _ = if self.opt.is_none() {
/* no `return` here */ None
} else {
self.opt
}; let _ = self.opt?; I'll add this as a comment along with conflict resolution.
|
let x = self.opt.is_none() {
return None;
} else {
self.op
}; is also not let _ = self.opt?; We can always suggest |
@bors r+ thanks! |
📌 Commit eba44e1 has been approved by |
☀️ Test successful - status-appveyor, status-travis |
Fixes #2892, #3199, #2841, #3476