使用“从带 lambda 的函数调用中移除不必要的圆括号”快速修复可清理代码。
示例:
fun foo() { listOf(1).forEach() { } }
在应用快速修复后:
fun foo() { listOf(1).forEach { } }