Skip to content
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

Rewrite resource.use { _ => useIt } as .surround(useIt) #64

Open
armanbilge opened this issue Oct 12, 2022 · 2 comments
Open

Rewrite resource.use { _ => useIt } as .surround(useIt) #64

armanbilge opened this issue Oct 12, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@armanbilge
Copy link
Member

armanbilge commented Oct 12, 2022

Edit: although I guess there is an issue of lazyness here 🤔

@armanbilge armanbilge added the enhancement New feature or request label Oct 12, 2022
@armanbilge armanbilge changed the title Rewrite use { _ => useIt } as .surround(useIt) Rewrite resource.use { _ => useIt } as .surround(useIt) Oct 12, 2022
@rossabaker
Copy link
Member

Seems fine if the as rule is fine?

@armanbilge
Copy link
Member Author

The as rule only applies in certain situations IIRC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants