diff --git a/format.py b/format.py index 4f3ca02..1bb9ace 100644 --- a/format.py +++ b/format.py @@ -63,7 +63,7 @@ def is_enabled(self): return is_rust(self.view) def run(self, edit): - args = ['--write-mode=overwrite', self.view.file_name()] + args = ['--emit=files', self.view.file_name()] output, error = rustfmt(args) if error: print_error(error)