mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-27 18:26:19 +00:00
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 {};
}
```
|
||
|---|---|---|
| .. | ||
| completions | ||
| context | ||
| render | ||
| tests | ||
| completions.rs | ||
| config.rs | ||
| context.rs | ||
| item.rs | ||
| lib.rs | ||
| render.rs | ||
| snippet.rs | ||
| tests.rs | ||