diff options
| author | Philipp Krones <hello@philkrones.com> | 2025-07-10 20:25:36 +0200 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2025-07-10 20:25:36 +0200 |
| commit | 4e614bf683fb265079f79268408cd69e361efdcc (patch) | |
| tree | 8179179bba5d6afbd2f89a6f88d2c13a4b4d76cd /clippy_dev/src/fmt.rs | |
| parent | 0a64bfd6858606fae0b112673d4a28b2d6f149f8 (diff) | |
| download | rust-4e614bf683fb265079f79268408cd69e361efdcc.tar.gz rust-4e614bf683fb265079f79268408cd69e361efdcc.zip | |
Merge commit 'cdbbf3afda0b1bf51568b368f629b1d828507f98' into clippy-subtree-update
Diffstat (limited to 'clippy_dev/src/fmt.rs')
| -rw-r--r-- | clippy_dev/src/fmt.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/fmt.rs b/clippy_dev/src/fmt.rs index c1b6b370706..bd9e57c9f6d 100644 --- a/clippy_dev/src/fmt.rs +++ b/clippy_dev/src/fmt.rs @@ -223,7 +223,7 @@ fn fmt_conf(check: bool) -> Result<(), Error> { if check { return Err(Error::CheckFailed); } - fs::write(path, new_text.as_bytes())?; + fs::write(path, new_text)?; } Ok(()) } |
