Skip to content

Remove unnecessary use of Box in format_function_type #2700

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
May 12, 2018
Merged

Remove unnecessary use of Box in format_function_type #2700

merged 1 commit into from
May 12, 2018

Conversation

Pazzaz
Copy link
Contributor

@Pazzaz Pazzaz commented May 12, 2018

I don't really get why the box was used but the code works without it so I removed it to avoid allocating on the heap.

@nrc nrc merged commit a8e7a7c into rust-lang:master May 12, 2018
@nrc
Copy link
Member

nrc commented May 12, 2018

Thanks!

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.

2 participants