diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-17 13:17:40 +0100 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-17 23:03:12 +0100 |
| commit | ff429645461c83dca048d8a7088c04ee15cc96c8 (patch) | |
| tree | b0e7f4ff8ff8becd67aa3f90fcdbf7b5cb029a18 /src/rt/rust_kernel.cpp | |
| parent | 1c1261bcb86841cc5fdedd9db0f0ced8a178cb4d (diff) | |
| download | rust-ff429645461c83dca048d8a7088c04ee15cc96c8.tar.gz rust-ff429645461c83dca048d8a7088c04ee15cc96c8.zip | |
Clean up some of trans using block combinators
`with_scope` and `with_cond` can be used to wrap a piece of code in a scope block, or conditionalize it on a value, without doing all the context-creation and jumping by hand. Also renames @block_ctxt to block to reduce noise.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
