Skip to content

Rust: format #19967

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2025
Merged

Rust: format #19967

merged 1 commit into from
Jul 3, 2025

Conversation

redsun82
Copy link
Contributor

@redsun82 redsun82 commented Jul 3, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings July 3, 2025 12:42
@redsun82 redsun82 requested a review from a team as a code owner July 3, 2025 12:42
@github-actions github-actions bot added the Rust Pull requests that update Rust code label Jul 3, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors and reformats main.rs to improve import ordering, clean up redundant borrows, and apply consistent formatting for multiline collections and control flow.

  • Reordered mod flags alongside other modules for clarity.
  • Reformatted the "HasLoopBody" field list to multiline with trailing commas.
  • Removed redundant & borrows in calls to should_predicate_be_extracted and get_trait_fields.
  • Expanded inline continue statements into full if blocks for readability.

@redsun82 redsun82 merged commit 8fda879 into main Jul 3, 2025
13 of 15 checks passed
@redsun82 redsun82 deleted the redsun82/format branch July 3, 2025 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants