diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-01-16 18:12:36 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-01-16 18:16:29 +0100 |
| commit | 3921ed67b20a4541b1fa378de95c1dbe3d5cc5ef (patch) | |
| tree | aeaee46019b746fe8843d1d332cfc3cfae15d2eb /tests/codegen/patchable-function-entry | |
| parent | 8d0c0eb9173723342844b02f7c0a4596168d26c5 (diff) | |
| download | rust-3921ed67b20a4541b1fa378de95c1dbe3d5cc5ef.tar.gz rust-3921ed67b20a4541b1fa378de95c1dbe3d5cc5ef.zip | |
[`path_buf_push_overwrite`]: mark suggestion as `MaybeIncorrect`
Proposing to replace
```rust
let mut x = PathBuf::from("/foo");
x.push("/bar");
```
by
```rust
let mut x = PathBuf::from("/foo");
x.push("bar");
```
changes the content of `x` (`/bar` ⇒ `/foo/bar`).
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions
