mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-23 08:48:08 +00:00
Convert for each range into while loop.
```rust
fn foo() {
$0for i in 3..7 {
foo(i);
}
}
```
->
```rust
fn foo() {
let mut i = 3;
while i < 7 {
foo(i);
i += 1;
}
}
```
|
||
|---|---|---|
| .. | ||
| ast | ||
| parsing | ||
| syntax_editor | ||
| validation | ||
| algo.rs | ||
| ast.rs | ||
| fuzz.rs | ||
| hacks.rs | ||
| lib.rs | ||
| parsing.rs | ||
| ptr.rs | ||
| syntax_editor.rs | ||
| syntax_error.rs | ||
| syntax_node.rs | ||
| ted.rs | ||
| tests.rs | ||
| token_text.rs | ||
| utils.rs | ||
| validation.rs | ||