org.scalafmt.rewrite
Replaces multi generator For / ForYield Expression parens and semi-colons with braces and new-lines.
For example,
for(a <- as; b <- bs if b > 2) yield (a, b)
becomes,
for { a <- as b <- bs if b > 2 } yield (a, b)
Replaces multi generator For / ForYield Expression parens and semi-colons with braces and new-lines.
For example,
for(a <- as; b <- bs if b > 2) yield (a, b)
becomes,
for { a <- as b <- bs if b > 2 } yield (a, b)