bors[bot] 5506e0dfaf
Merge #10139
10139: Fix replacing for loops over ranges with for_each. r=yotamofek a=yotamofek

Previously, the assist would turn this:
```rust
for x in 0..92 {
    ...
}
```
into the syntactically incorrect code below:
```rust
0..92.for_each(|x| ...)
```

This fixes the assist by parenthesizing range expressions.

Co-authored-by: Yotam Ofek <yotam.ofek@gmail.com>
2021-09-03 18:03:52 +00:00
..
2021-09-03 16:00:50 +02:00
2021-08-31 13:11:17 +02:00
2021-09-03 16:00:50 +02:00
2021-09-03 14:28:27 +00:00
2021-09-03 16:00:50 +02:00
2021-09-03 16:00:50 +02:00
2021-09-03 16:00:50 +02:00
2021-09-02 17:30:55 +02:00
2021-08-30 19:35:00 +00:00
2021-09-03 16:00:50 +02:00
2021-08-30 15:55:40 +03:00
2021-08-30 08:42:13 +00:00
2021-08-31 19:14:33 +03:00
2021-08-30 15:11:42 +08:00