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

Flip K and Q #5

Open
al8n opened this issue Dec 9, 2024 · 1 comment
Open

Flip K and Q #5

al8n opened this issue Dec 9, 2024 · 1 comment

Comments

@al8n
Copy link

al8n commented Dec 9, 2024

Hi @cuviper, in the indexmap-rs/indexmap#253 (comment), it was mentioned that flipping K and Q can avoid some annoying turbofish. The solution in the comment also applies to crossbeam-rs/crossbeam#1132.

Is it a good idea to apply the flipping to this crate now?

@cuviper
Copy link
Member

cuviper commented Dec 9, 2024

Well it's a breaking change, and I wasn't certain if the flip would have other unforeseen effects, so I decided to leave it alone for now. Since crossbeam is using their own flipped copy of the traits, I suppose we can wait and see if experience reveals any new problems with that change.

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

No branches or pull requests

2 participants