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

alloc: implement FromIterator for Box<str> #99969

Merged
merged 1 commit into from
May 19, 2024

Commits on May 5, 2024

  1. alloc: implement FromIterator for Box<str>

    Box<[T]> implements FromIterator<T> using Vec<T> + into_boxed_slice().
    Add analogous FromIterator implementations for Box<str>
    matching the current implementations for String.
    Remove the Global allocator requirement for FromIterator<Box<str>> too.
    calebsander committed May 5, 2024
    Configuration menu
    Copy the full SHA
    c92c228 View commit details
    Browse the repository at this point in the history