Formatting with cargo fmt
alexmaco opened this issue · comments
Keeping the source formatted automatically allows anyone that wants to contribute to just format the source automatically for their changes, without introducing a large delta in existing code.
For any preference in formatting style that differs from the default, rustfmt
supports configuration via rustfmt.toml.
While a formatting PR is easy, to keep code formatted in the future, a CI item can be added.