about summary refs log tree commit diff
path: root/tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs
diff options
context:
space:
mode:
authorA4-Tacks <wdsjxhno1001@163.com>2025-09-12 20:07:07 +0800
committerA4-Tacks <wdsjxhno1001@163.com>2025-09-12 20:56:59 +0800
commit8a574ca862493b1977749e1a6e3fb85b9356fad7 (patch)
tree3b9b21dd479279e57a9b6ec60a942bd533364989 /tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs
parentfa2f5f9efa3d80a0c65c58992a7b7a6fb10be08f (diff)
downloadrust-8a574ca862493b1977749e1a6e3fb85b9356fad7.tar.gz
rust-8a574ca862493b1977749e1a6e3fb85b9356fad7.zip
Fix extra semicolon before else in let-stmt
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 {};
}
```
Diffstat (limited to 'tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs')
0 files changed, 0 insertions, 0 deletions