Skip to content

fix retain_mut panic/drop behavior to match vec API #444

Description

@alejandro-vaz

I reviewed the code once again, It worth mentioning that retain_mut panic and drop handling behavior of smallvec and rust library are different.
It would be nice if for version 2, smallvec start behaving like rust in case of panic.

Originally posted by @fereidani in #443 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions