rust-bitcoin / rust-bitcoinconsensus

Bitcoin's libbitcoinconsenus.a with Rust binding. Built from Bitcoin sources with cargo.
Apache License 2.0
46 stars 34 forks source link

Introduce rustfmt #54

Closed tcharding closed 2 years ago

tcharding commented 2 years ago

As we did in rust-bitcoin introduce rustfmt by adding configuration options in rustfmt.toml.

Run rustfmt on the whole crate.

apoelstra commented 2 years ago

Impressive that in a 79-line diff cargo fmt still manages to irritate me multiple times, but I'm not gonna relitigate this, especially on a crate whose code I almost never look at.