Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

deprecate `from_vec`

Open Beginner friendly
#712 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
rust

Research direction

Start in conversions.rs and inspect the existing From<Vec<...>> implementation for SmallVec, then compare the deprecation reason on macros.rs. Keep from_vec as a deprecated call through the From implementation, with the deprecation wording matching macros.rs; verify the public API still compiles.

Written by the indexing model from the issue text.

Description

good first issue help wanted r-refactor

deprecate the from_vec method on SmallVec

the move the source code to the From<Vec<...>> implementation for SmallVec in conversions.rs, and maintain this method as a simple call to that From implementation

that way we are using the idiomatic rust traits instead of having a method for everything

the deprecation reason should mirror that on macros.rs

Dominant language
Rust
Stars
1.7k
Forks
225
Avg merge
1d 1h
Merged PRs (30d)
64

Getting set up

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.

More from servo/rust-smallvec

All issues in servo/rust-smallvec

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.