Skip to content

[Variant] impl FromIterator fpr VariantPath #7955

@alamb

Description

@alamb

Should it also impl FromIterator so people can do:

VariantPath::from_iter(["foo".into(), 0.into()])

or

["foo".into(), 0.into()].into_iter().collect::<VariantPath>()

Originally posted by @scovich in #7942 (comment)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions