typelevel-scalafix
typelevel-scalafix copied to clipboard
Rewrite `resource.use { _ => useIt }` as `.surround(useIt)`
Edit: although I guess there is an issue of lazyness here 🤔
Seems fine if the as rule is fine?
The as rule only applies in certain situations IIRC.
- https://github.com/typelevel/typelevel-scalafix/pull/41