chore: create and apply rustfmt.toml#213
Conversation
Pull Request Test Coverage Report for Build 15148639587Details
💛 - Coveralls |
|
I didn't realize this would require +nightly. Any idea when the |
notmandatory
left a comment
There was a problem hiding this comment.
ACK 0b5e3f6
It's a little ackward to have to use cargo +nightly fmt but since it only needs to be done before pushing the PR and will make all the docs and docs tests more consistent I'd still like to do it.
Not sure, but once it's in stable we can revert it. By the way, I made an identical PR on |
|
Concept ACK If we do this I think we should remove the extra For the future I would look at increasing some of the granular width settings such as
You mean I ran |
True.
Maybe just comment it out so it's easier to revert when these formatting rules become stable?
We need one of those! |
0b5e3f6 to
e736cf9
Compare
|
I don't understand what |
|
I got this from the rustfmt docs:
|
e736cf9 to
4cc810a
Compare
4cc810a to
ec7c303
Compare
ec7c303 to
a064393
Compare
|
Rebased to trigger CI. |
Description
Closes #3.
This PR adds basic formatting configuration for uniform comments. Note that the nightly toolchain is necessary.
Changes:
rustfmt.tomlwith this config:rustfmt.toml.fmtCI job to use the nightly toolchain.cargo fmt->cargo +nightly fmt).Note: I had to add
#[rustfmt::skip]totest_extract_satisfaction_timelock()because the base64 PSBT would get wrapped due to the slashes.Checklists
All Submissions:
cargo +nightly fmtandcargo clippybefore committingBugfixes: