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

impl From<Vec<T>> for BufferBuilder and MutableBuffer #4650

Merged
merged 3 commits into from
Aug 6, 2023

Conversation

mbrobbel
Copy link
Contributor

@mbrobbel mbrobbel commented Aug 5, 2023

Which issue does this PR close?

None.

Rationale for this change

Both BufferBuilder and MutableBuffer provide methods to convert from a Vec. These implementations provide these conversions through the From trait.

What changes are included in this PR?

  • Implementations for From<Vec<T>> for BufferBuilder and MutableBuffer.
  • Marked MutableBuffer::from_vec as deprecated.

Are there any user-facing changes?

Users are notified about the deprecations and can use the std::convert trait to convert.

@github-actions github-actions bot added the arrow Changes to the arrow crate label Aug 5, 2023
@tustvold
Copy link
Contributor

tustvold commented Aug 5, 2023

If you merge master, the Ci should stop failing on SIMD nonsense

@tustvold tustvold merged commit bcc04a4 into apache:master Aug 6, 2023
25 checks passed
@mbrobbel mbrobbel deleted the builder-from-vec branch August 6, 2023 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants