Skip to content

Clean up code for unused_must_use lint #17312

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 1 commit into from
Sep 17, 2014

Conversation

Manishearth
Copy link
Member

We're unnecessarily inferring types twice, and there are two match statements there that could really be just one

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Sep 17, 2014
@bors bors merged commit 9c3a085 into rust-lang:master Sep 17, 2014
@Manishearth Manishearth deleted the builtin-shrink branch September 18, 2014 07:24
lnicola pushed a commit to lnicola/rust that referenced this pull request Jun 23, 2024
…ykril

Add `Function::fn_ptr_type(…)` for obtaining name-erased function type

The use case of this function if being able to group functions by their function ptr type.

cc `@flodiebold`
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.

3 participants