Skip to content

Source code formatting#583

Merged
bkchr merged 3 commits intoparitytech:masterfrom
kalaninja:kalan/format
Apr 30, 2024
Merged

Source code formatting#583
bkchr merged 3 commits intoparitytech:masterfrom
kalaninja:kalan/format

Conversation

@kalaninja
Copy link
Copy Markdown
Contributor

Though rustfmt.toml was introduced in 0841cc48bc14d2573cb7a8de8b2d342db362ee62, the code wasn't formatted accordingly.

This PR formats the source code and adds a corresponding check to ci.

The formatting was done with cargo +nightly fmt --all to follow rustfmt.toml rules, so the check is implemented with cargo +nightly fmt --all -- --check

@kalaninja kalaninja requested a review from a team as a code owner April 29, 2024 09:27
@bkchr bkchr changed the base branch from master to bkchr-format April 29, 2024 21:07
@bkchr bkchr changed the base branch from bkchr-format to master April 29, 2024 21:19
@bkchr bkchr merged commit faac8cc into paritytech:master Apr 30, 2024
@kalaninja kalaninja deleted the kalan/format branch May 1, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants