mirror of
				https://github.com/rust-lang/rust-analyzer.git
				synced 2025-10-31 20:09:01 +00:00 
			
		
		
		
	|  d42c81e8d1 Example
---
```rust
fn main() {
    let x = if true {
        ()
    } $0 else {};
}
```
**Before this PR**:
```rust
fn main() {
    let x = if true {
        ()
    } else if $1 {
        $0
    }; else {};
}
```
**After this PR**:
```rust
fn main() {
    let x = if true {
        ()
    } else if $1 {
        $0
    } else {};
}
``` | ||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||