Skip to content

fix: Fix "Unwrap block" assist with block modifiers #17970

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

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

ChayimFriedman2
Copy link
Contributor

The assist just assumes the { will be the first character, which led to strange outputs such as nsafe {.

Fixes #17964.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 26, 2024
The assist just assumes the `{` will be the first character, which led to strange outputs such as `nsafe {`.
@Veykril
Copy link
Member

Veykril commented Aug 27, 2024

Thanks!
@bors r+

@bors
Copy link
Contributor

bors commented Aug 27, 2024

📌 Commit 104c297 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 27, 2024

⌛ Testing commit 104c297 with merge 66b9b56...

@bors
Copy link
Contributor

bors commented Aug 27, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing 66b9b56 to master...

@bors bors merged commit 66b9b56 into rust-lang:master Aug 27, 2024
11 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the unwrap-unsafe-block branch October 16, 2024 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Unwrap block" handles unsafe wrongly
4 participants