mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-15 08:55:02 +01:00
use genemichaels for formatting
This commit is contained in:
parent
4d234fc6a0
commit
9467c55770
31 changed files with 165 additions and 4969 deletions
|
|
@ -196,7 +196,7 @@ impl Minimizer {
|
|||
|
||||
match has_made_change {
|
||||
ProcessState::Changed | ProcessState::FileInvalidated => {
|
||||
let result = prettyplease::unparse(&krate);
|
||||
let result = crate::formatting::format(krate)?;
|
||||
|
||||
change.write(&result)?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue