Skip to content

Implement std::iter::FromIterator<char> for Box<str> #65163

Description

@Duddino

This would allow to construct a Box from an iterator, example: let string: Box<str> = (0..5).map(|_| '☺').collect();

This issue has been assigned to @Duddino via this comment.

Metadata

Metadata

Assignees

Labels

A-collectionsArea: `std::collections`C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-api[DEPRECATED; DO NOT USE]

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions