Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Clone-less converter from Arc to Vec #89215

Closed

Commits on Sep 24, 2021

  1. Add Clone-less converter from {Arc,Rc} to Box

    Adds methods try_unwrap_as_box that work similar to try_unwrap but
    instead of reading the value, they move it a separate allocation.
    This allows unwrapping unsized values as well. By extension this
    can be used for converting in a vector of slices.
    Andreas Molzer committed Sep 24, 2021
    Copy the full SHA
    7e0034b View commit details
    Browse the repository at this point in the history