Fix cli clippy lints (#681)

The second in a series of PRs that aim to get CI passing
This commit is contained in:
Kenneth Loeffler
2023-06-30 11:03:37 -07:00
committed by GitHub
parent 2507e096b7
commit b7a1f82f56
4 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ impl FmtProjectCommand {
let serialized = serde_json::to_string_pretty(&project)
.context("could not re-encode project file as JSON")?;
fs_err::write(&project.file_location, &serialized)
fs_err::write(&project.file_location, serialized)
.context("could not write back to project file")?;
Ok(())