Skip to content

remove excess string allocation #29615

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
Nov 6, 2015
Merged

Conversation

steveklabnik
Copy link
Member

&format!("...") is the same as "" if we're not doing any interpolation,
and doesn't allocate an intermediate String.

&format!("...") is the same as "" if we're not doing any interpolation,
and doesn't allocate an intermediate String.
@rust-highfive
Copy link
Contributor

r? @pnkfelix

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

@bors: r+ 63576c2

@bors
Copy link
Collaborator

bors commented Nov 6, 2015

⌛ Testing commit 63576c2 with merge 2f59977...

bors added a commit that referenced this pull request Nov 6, 2015
&format!("...") is the same as "" if we're not doing any interpolation,
and doesn't allocate an intermediate String.
@bors bors merged commit 63576c2 into rust-lang:master Nov 6, 2015
@steveklabnik steveklabnik deleted the lol_strings branch June 19, 2016 20:31
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.

5 participants