servo / servo/rust-smallvec

`lib.rs` iterator modularization

Open
#627 5 comments 0 reactions 1 assignee View on GitHub

@Kxrma47 is already working on this.

Since Sep 19, 2026.

good first issue help wanted r-refactor
Dominant language
Rust
Stars
1.7k
Forks
216
Avg merge
17h 50m
Merged PRs (30d)
95

Description

lib.rs not only contains the implementation of SmallVec, but all its iterators as well: Drain, ExtractIf, IntoIter, Splice (except the parallel iterator)

the goal is to move each struct with its implementations into a file under src/iterators/ which is already created

expect conflicts regarding visibility

this comes originally from #479 but was cancelled due to its complexity back then. it probably is as complex now but we have to do it anyway

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.