Skip to content

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

Closed
@Duddino

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-apiRelevant to the library API team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions