]> git.lizzy.rs Git - rust.git/commit
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)
commit83084e9c7793d24008b88b93d698639d0e85164a
treec9fc8286d34556c9bcaebd58a2e869714468c5a6
parentb2aa00ba8b3539985c77f84b01e5781dd1455177
parent2ffcbf11f5fd60ee06b2b275fedefc8dbfd9de9c
auto merge of #10748 : kballard/rust/issue-10734-rpass, r=alexcrichton

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`).