Skip to content

Conversation

@hasali19
Copy link
Contributor

This checks if the expression is in a mutable borrow and if so makes the extracted variable mut.

Closes #12786

@hasali19 hasali19 marked this pull request as draft July 17, 2022 20:53
@hasali19 hasali19 marked this pull request as ready for review July 17, 2022 21:43
@jonas-schievink
Copy link
Contributor

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Jul 18, 2022

📌 Commit ea19e70 has been approved by jonas-schievink

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jul 18, 2022

⌛ Testing commit ea19e70 with merge e2eaa99...

@bors
Copy link
Contributor

bors commented Jul 18, 2022

☀️ Test successful - checks-actions
Approved by: jonas-schievink
Pushing e2eaa99 to master...

@bors bors merged commit e2eaa99 into rust-lang:master Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extract variable assist should make variable mut if necessary

3 participants