Skip to content
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

libcore: add a str::with_capacity to match the fn in vec #3706

Merged
merged 1 commit into from
Oct 17, 2012

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Oct 9, 2012

I enjoy using vec::with_capacity, so it'd be nice to have the same function for ~strs.

catamorphism added a commit that referenced this pull request Oct 17, 2012
libcore: add a str::with_capacity to match the fn in vec
@catamorphism catamorphism merged commit ebce097 into rust-lang:incoming Oct 17, 2012
@catamorphism
Copy link
Contributor

Thanks!

bors pushed a commit to rust-lang-ci/rust that referenced this pull request May 15, 2021
RalfJung pushed a commit to RalfJung/rust that referenced this pull request Jun 29, 2024
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