Skip to content

Conversation

@himkt
Copy link
Owner

@himkt himkt commented Dec 14, 2025

No description provided.

@himkt himkt requested a review from Copilot December 14, 2025 13:08
@himkt himkt self-assigned this Dec 14, 2025
Copy link
Contributor

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 reorganizes the SegmentTree implementation by moving a private helper function to the end of the impl block, and configures rustfmt with a max_width of 119 characters. The formatting change is then applied consistently across multiple files to collapse multi-line struct initializations and assertions into single lines.

  • Moved range_query_recursive helper function to the end of the SegmentTree impl block for better organization
  • Added rustfmt.toml configuration with max_width = 119
  • Applied automatic formatting to collapse multi-line expressions across the codebase

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/tree.rs Relocated private range_query_recursive function to the end of the impl block
src/math.rs Collapsed multi-line struct initialization for SequentialPrimeFactorization
src/graph.rs Collapsed multi-line assertions, struct initializations, and test vectors
src/geometry.rs Collapsed multi-line iterator chain in convex_hull function
src/collection.rs Collapsed multi-line struct initialization for Bitset
rustfmt.toml Added rustfmt configuration file with max line width setting

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@himkt himkt merged commit b7091bd into main Dec 14, 2025
1 check passed
@himkt himkt deleted the cleaning branch December 14, 2025 13:12
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.

2 participants