]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10748 : kballard/rust/issue-10734-rpass, r=alexcrichton
authorbors <bors@rust-lang.org>
Sun, 1 Dec 2013 12:26:52 +0000 (04:26 -0800)
committerbors <bors@rust-lang.org>
Sun, 1 Dec 2013 12:26:52 +0000 (04:26 -0800)
Stop relying on a malloc error to indicate failure and instead use an
explicit check. Also ensure that the value is dropped at the correct
time (e.g. that the if statement is translated into `{ expr }` instead
of `expr`).


Trivial merge