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-05 06:30:28 +0800
committerA4-Tacks <wdsjxhno1001@163.com>2025-09-05 06:30:28 +0800
commitec34e8e69fb2e133e6ec0ebc87443f6fa8bda092 (patch)
treef98a890a50e60ea4a949eee93553e33ef246b775 /tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs
parentab5113a316959f2558f03a7bf590e967602f02df (diff)
downloadrust-ec34e8e69fb2e133e6ec0ebc87443f6fa8bda092.tar.gz
rust-ec34e8e69fb2e133e6ec0ebc87443f6fa8bda092.zip
Fix precedence parenthesis for replace_arith_op
Example
---
```rust
fn main() {
    let x = 1*x $0+ 2;
}
```

**Before this PR**:

```rust
fn main() {
    let x = 1*x.wrapping_add(2);
}
```

**After this PR**:

```rust
fn main() {
    let x = (1*x).wrapping_add(2);
}
```
Diffstat (limited to 'tests/rustdoc/impl/doc_auto_cfg_nested_impl.rs')
0 files changed, 0 insertions, 0 deletions