From 0c7d975ceb668915116c99259c7bb19875824fba Mon Sep 17 00:00:00 2001 From: Fredrik Larsson Date: Tue, 31 Oct 2017 22:31:02 +0100 Subject: [PATCH] Add rustfmt.toml with formatting disabled Currently, Cargo does not use rustfmt for its source code. By adding a rustfmt.toml that simply disables all formatting rules, editors which use rustfmt by default for all Rust code will do the right thing and leave the source code unchanged. --- rustfmt.toml | 1 + 1 file changed, 1 insertion(+) create mode 100644 rustfmt.toml diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 000000000..c7ad93baf --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +disable_all_formatting = true -- 2.30.2