]> git.lizzy.rs Git - rust.git/commit
auto merge of #13291 : thestinger/rust/no_null, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 4 Apr 2014 11:41:49 +0000 (04:41 -0700)
committerbors <bors@rust-lang.org>
Fri, 4 Apr 2014 11:41:49 +0000 (04:41 -0700)
commit37a9885429e8d76baad64877959400a81a2b4528
treeaf63ff7c657a2625ef84a43badb3bcfdc995675b
parentf819c21952ce9162a1e0f0d2a7ce4ad115609ac7
parent7ce2630cef8b9bc951ce6075c4193730a3efa719
auto merge of #13291 : thestinger/rust/no_null, r=alexcrichton

This was missed when dropping the null-termination from our string
types. An explicit null byte can still be placed anywhere in a string if
desired, but there's no reason to stick one at the end of every string
constant.
src/librustc/middle/trans/common.rs
src/librustc/middle/trans/reflect.rs
src/librustc/middle/trans/tvec.rs