Skip to content

Remove turbofishes from diesel calls #2946

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

Merged
merged 4 commits into from
Oct 29, 2020
Merged

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 22, 2020

This makes the code a little more readable and helps e.g. intellij-rust in understanding the types of the variables better

r? @jtgeibel

This makes the code a little more readable and helps `intellij-rust` in understanding the types of the variables
This makes the code a little more readable and helps `intellij-rust` in understanding the types of the variables
This makes the code a little more readable and helps `intellij-rust` in understanding the types of the variables
This makes the code a little more readable and helps `intellij-rust` in understanding the types of the variables
@jtgeibel
Copy link
Member

I poked around a little bit with rust-analyzer and don't see any regressions in type inference there. In a few of these cases I like the turbofish version a bit more, but consistency and good IDE experiences seems more important.

@bors r+

@bors
Copy link
Contributor

bors commented Oct 29, 2020

📌 Commit 4a20e53 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Oct 29, 2020

⌛ Testing commit 4a20e53 with merge 1212742...

@bors
Copy link
Contributor

bors commented Oct 29, 2020

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing 1212742 to master...

@bors bors merged commit 1212742 into rust-lang:master Oct 29, 2020
@Turbo87 Turbo87 deleted the turbo-fish branch October 29, 2020 23:24
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.

4 participants