-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[breaking batch] Remove some unnecessary indirection from AST structures #31583
Conversation
@bors r+ LGTM. Not sure why Annotatable still uses P, but that's okay. |
📌 Commit 77cc576 has been approved by |
Huh, it seems like without prioritizing two PRs approved roughly at the same time have to be extremely lucky to end up in the same nightly. |
@bors p=10 shit sorry, I forgot |
cc #31487 plugin-[breaking-change] The AST part of #30087 r? @Manishearth
@@ -65,6 +65,10 @@ impl<T: 'static> P<T> { | |||
{ | |||
f(*self.ptr) | |||
} | |||
/// Equivalent to and_then(|x| x) | |||
pub fn unwrap(self) -> T { |
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.
Wow I'm years late to this but see #54277 (comment)
cc #31487
plugin-[breaking-change]
The AST part of #30087
r? @Manishearth