7a6cd2b21e
@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. |
||
---|---|---|
.. | ||
at_exit.rs | ||
exchange_alloc.rs | ||
extfmt.rs | ||
finally.rs | ||
global.rs | ||
intrinsics.rs | ||
lang.rs | ||
weak_task.rs |