Skip to content

std: work-around for take/skip type inference (#6967) #6968

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jun 6, 2013

Conversation

huonw
Copy link
Member

@huonw huonw commented Jun 6, 2013

@thestinger r?

Adding the dummy parameter stops the inference from having to work so hard.

bors added a commit that referenced this pull request Jun 6, 2013
@thestinger r?

Adding the dummy parameter stops the inference from having to work so hard.
@bors bors closed this Jun 6, 2013
@bors bors merged commit 32228f3 into rust-lang:incoming Jun 6, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 8, 2021
Improve `redundant_slicing`

fixes: rust-lang#6968

changelog: Fix `redundant_slicing` suggestion when a reborrow might be required or when the value is from a macro call
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants