]> git.lizzy.rs Git - rust.git/commit
Fixed str::raw::push_byte
authorSteven Fackler <sfackler@gmail.com>
Sun, 4 Aug 2013 20:10:19 +0000 (16:10 -0400)
committerSteven Fackler <sfackler@gmail.com>
Sun, 4 Aug 2013 20:19:40 +0000 (16:19 -0400)
commit147c4fd81b25afe8a0b3ef50987d916370d7133b
tree1cc875ac2a468f26684e1e212f215a25840036df
parent93432a2c2f244f46c8c60c3988483b20def990b7
Fixed str::raw::push_byte

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.
src/libstd/str.rs