Skip to content

refactor: create src/iterators/ folder and move rayon.rs (closes #598) - #600

Merged
alejandro-vaz merged 5 commits into
servo:v2from
rushikeshgarad2024-dev:refactor/iterators-folder-issue-598
Sep 11, 2026
Merged

refactor: create src/iterators/ folder and move rayon.rs (closes #598)#600
alejandro-vaz merged 5 commits into
servo:v2from
rushikeshgarad2024-dev:refactor/iterators-folder-issue-598

Conversation

@rushikeshgarad2024-dev

Copy link
Copy Markdown
Contributor

Description

This PR resolves #598 by creating the dedicated src/iterators/ directory and moving rayon.rs inside it.

Changes Made:

  1. Created src/iterators/ directory.
  2. Moved src/rayon.rs to src/iterators/rayon.rs.
  3. Created src/iterators/mod.rs declaring rayon under the rayon feature flag.
  4. Updated src/lib.rs module declarations.

Closes #598

@alejandro-vaz alejandro-vaz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

you have to run cargo fmt --all, rustfmt is complaining because imports are not ordered

Signed-off-by: Alejandro Vaz <alejandro.vaz.myt@gmail.com>
@alejandro-vaz

Copy link
Copy Markdown
Collaborator

actually don't worry, I just did it myself

@alejandro-vaz
alejandro-vaz added this pull request to the merge queue Sep 11, 2026
Merged via the queue into servo:v2 with commit 053f1a7 Sep 11, 2026
6 checks passed
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.

create src/iterators/ folder and move rayon.rs

2 participants