Format with latest rustfmt (0.99.1-stable)#171
Format with latest rustfmt (0.99.1-stable)#171bodymindarts wants to merge 1 commit intorust-bitcoin:masterfrom
Conversation
|
What about adding a git hook? |
|
Please remove the 22-file format-only commit from this PR. |
|
@apoelstra I've rebased and removed that commit. Though I don't really understand the intention, at some point that diff is going to be added. If not in 1 big bang then step by step as ppl edit files and format them or? |
|
It can be added when/if rustfmt ever stabilizes. |
|
My understanding at the beginning of this thread was that an empty rustfmt file would tell auto-rustfmt tools to not enforce any rules. Is that correct? |
|
Empty |
|
I believe that it would be better to turn off all rules, and, over time, explicitly add rules as we agree on which ones are needed. |
|
What is there to agree on? Rust has a defined standard formatting style. Frankly, I think it was a mistake to even have any configuration for I eg. prefer tabs over spaces, but what's decided is decided, I have my editor set to spaces in |
|
They seem to have released version If wanted to use If we don't want |
|
I think it's fine to do a big-bang transition with rustfmt 1.0.0. |
|
@bodymindarts would you like to redo this PR with rustfmt 1.0? Or should one of us take that on? |
|
Closing due to inactivity. Leaving the issue #172 open. |
Add "sortedmulti" descriptor support
Investigating the code base I noticed some dirty files that came from my editor
running
cargo fmtautomatically on save so I've commited the project formattedby the latest rustfmt.