about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-03-28 19:06:48 -0700
committerbors <bors@rust-lang.org>2013-03-28 19:06:48 -0700
commit7a6cd2b21e240d3b075b30d598e661b038fe6fbe (patch)
tree3542b2ed3564cb795e567c74857bfaa696525e11 /src/libsyntax/parse/parser.rs
parentf81459211d0cf2738ed02f5c7fe24f56c8032960 (diff)
parentaa779c1240afd0f5e46897b6ddfa55126471bf19 (diff)
downloadrust-7a6cd2b21e240d3b075b30d598e661b038fe6fbe.tar.gz
rust-7a6cd2b21e240d3b075b30d598e661b038fe6fbe.zip
auto merge of #5608 : erickt/rust/incoming, r=catamorphism
@nikomatsakis pointed out that `fn read_option<T>(&self, f: &fn() -> T) -> Option<T>` should have this syntax so it can work with custom option types: `fn read_option<T>(&self, f: &fn(bool) -> T) -> T`.

Also, this also includes some `#[inline(always)]` on the memory functions in `src/libcore/unstable/lang.rs` to reduce one level of indirection when allocating memory.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions