mozilla/rust — pull request #3706 by erickt (2012-10-09 15:58:49+00:00)
Title: libcore: add a str::with_capacity to match the fn in vec

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