Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Run cargo fmt on infrequently updated source files #9381

Closed
wants to merge 1 commit into from

Conversation

expenses
Copy link
Contributor

After #8982, we can start running cargo fmt on the source code. In order to be less disruptive to PRs that are currently underway, I figured that we could start with source files that aren't updated very frequently (or at least, ones that were last updated more than 14 days ago).

This PR contains no logic changes and is just the result of me running cargo +nightly fmt.

@expenses expenses added A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Jul 19, 2021
@expenses expenses added the D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit label Jul 19, 2021
tree.import("A", 1, (), &is_descendent_of),
Err(Error::Revert),
);
assert_eq!(tree.import("A", 1, (), &is_descendent_of), Err(Error::Revert),);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the commas are set to be Vertical so this last comma should not be there? ,

Copy link
Contributor

@gilescope gilescope Jul 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(aside from the single line additional commas the rest looks parity coding standard to me.)

@bkchr
Copy link
Member

bkchr commented Jul 19, 2021

Can we please either do all at once or do it over time via normal pull requests. IMO we should not start creating individual prs to run cargo fmt on them.

@expenses
Copy link
Contributor Author

Can we please either do all at once or do it over time via normal pull requests. IMO we should not start creating individual prs to run cargo fmt on them.

Okay, that's fair.

@expenses expenses closed this Jul 20, 2021
@expenses expenses deleted the ashley-fmt-infrequently-updated branch August 23, 2021 11:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants