projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2d7b30
)
Add rustfmt.toml with formatting disabled
author
Fredrik Larsson
<nossralf@gmail.com>
Tue, 31 Oct 2017 21:31:02 +0000
(22:31 +0100)
committer
Fredrik Larsson
<nossralf@gmail.com>
Tue, 31 Oct 2017 21:31:02 +0000
(22:31 +0100)
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
[new file with mode: 0644]
patch
|
blob
diff --git a/rustfmt.toml
b/rustfmt.toml
new file mode 100644
(file)
index 0000000..
c7ad93b
--- /dev/null
+++ b/
rustfmt.toml
@@ -0,0
+1
@@
+disable_all_formatting = true