Auto merge of #4692 - nossralf:add-rustfmt-config, r=matklad
authorbors <bors@rust-lang.org>
Tue, 31 Oct 2017 22:13:57 +0000 (22:13 +0000)
committerbors <bors@rust-lang.org>
Tue, 31 Oct 2017 22:13:57 +0000 (22:13 +0000)
commita924c5a3ead658666f9a81c3804ddeaedb3a67ce
tree06ff2d2dd0cb48811188d94d7c52e64ea3242fae
parent2d8e8a1da9083bd1fa72903e6712fb2dd5177ff0
parent0c7d975ceb668915116c99259c7bb19875824fba
Auto merge of #4692 - nossralf:add-rustfmt-config, r=matklad

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,.

This makes life a little bit easier for developers who no longer need to explicitly disable automatic rustfmt formatting when working on Cargo to avoid code unrelated to a change being reformatted.