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

minor: simplify associated item bound of hash_array_primitive #13070

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

jonahgao
Copy link
Member

Which issue does this PR close?

N/A

Rationale for this change

where T: Trait, <T as Trait>::Assoc: Bound can be simplified to where T: Trait<Assoc: Bound>
The syntax has been stablized since Rust 1.79.0, which is the current Rust version used by DataFusion.

Ref: https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html#bounds-in-associated-type-position

What changes are included in this PR?

Are these changes tested?

Yes

Are there any user-facing changes?

No

@github-actions github-actions bot added the common Related to common crate label Oct 23, 2024
@Dandandan Dandandan merged commit d2a5e27 into apache:main Oct 23, 2024
24 checks passed
@jonahgao jonahgao deleted the simplify_bound branch October 23, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common Related to common crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants