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 back Array::from_vec and Array::from_iter #921

Merged
merged 1 commit into from
Feb 17, 2021
Merged

Conversation

bluss
Copy link
Member

@bluss bluss commented Feb 16, 2021

Inherent methods are always available, easier to use and have high
visibility in docs. These important user interfaces are undeprecated and
added back respectively.

  • Undeprecate ArrayBase::from_vec (it has the same effect as the From<Vec<_>> impl)
  • Add back ArrayBase::from_iter (it has the same effect as the FromIterator impl)

FromIterator is not even in the prelude, and I really miss having from_iter available.

Inherent methods are always available, easier to use and have high
visibility in docs. These important user interfaces are undeprecated and
added back respectively.
@bluss bluss merged commit f7a1277 into master Feb 17, 2021
@bluss bluss deleted the inherent-from-2 branch February 17, 2021 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant