Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Source code formatting #583

Merged
merged 3 commits into from
Apr 30, 2024
Merged

Source code formatting #583

merged 3 commits into from
Apr 30, 2024

Conversation

kalaninja
Copy link
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
derive/src/decode.rs Outdated Show resolved Hide resolved
@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
1 check passed
@kalaninja kalaninja deleted the kalan/format branch May 1, 2024 08:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants