Skip to content

deprecate from_vec #712

Closed
Closed

Description

@alejandro-vaz

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

Activity

  1. added this to the v2-beta.3 milestone on Oct 3, 2026
  2. alejandro-vaz commented on Oct 4, 2026

    @alejandro-vaz
    CollaboratorAuthor

    also, make sure we don't use the deprecated method in the codebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for a first contributorhelp wantedNo clear candidate to implement itr-refactorrelated to refactoring

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions