]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #8289 : sfackler/rust/push_byte, r=erickt
authorbors <bors@rust-lang.org>
Mon, 5 Aug 2013 15:10:55 +0000 (08:10 -0700)
committerbors <bors@rust-lang.org>
Mon, 5 Aug 2013 15:10:55 +0000 (08:10 -0700)
It was previously pushing the byte on top of the string's null
terminator. I added a test to make sure it doesn't break in the future.

1  2 
src/libstd/str.rs

Simple merge