Skip to content

refactor: move slice range - #671

Merged
alejandro-vaz merged 7 commits into
servo:v2from
alejandro-vaz:range-file
Sep 24, 2026
Merged

alejandro-vaz merged 7 commits into
servo:v2from
alejandro-vaz:range-file

Conversation

@alejandro-vaz

@alejandro-vaz alejandro-vaz commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

this PR removes the old fn slice_range in lib.rs and creates a separate trait in newrange.rs that converts any RangeBounds<usize> with a length: usize to a proper Range<usize>

it declutters lib.rs and improves modularization and code practices

@alejandro-vaz alejandro-vaz self-assigned this Sep 24, 2026
Signed-off-by: Alejandro Vaz <alejandro.vaz.myt@gmail.com>
@alejandro-vaz
alejandro-vaz requested a review from jdm September 24, 2026 13:01
@alejandro-vaz
alejandro-vaz marked this pull request as ready for review September 24, 2026 13:01
@alejandro-vaz
alejandro-vaz added this pull request to the merge queue Sep 24, 2026
Merged via the queue into servo:v2 with commit daa55c6 Sep 24, 2026
7 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.

2 participants