summary refs log tree commit diff
path: root/src/libstd/unstable/finally.rs
AgeCommit message (Collapse)AuthorLines
2013-12-12Inline Finallyalizer::drop, allowing LLVM to optimize `finally`.Eduard Burtescu-0/+1
* fixes the vec::from_elem regression caused by #8780 * added 5 benchmarks for allocating a 1KB ~[u8] and zeroing it
2013-12-11Make 'self lifetime illegal.Erik Price-4/+4
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-11-26test: Remove non-procedure uses of `do` from compiletest, libstd tests,Patrick Walton-10/+10
compile-fail tests, run-fail tests, and run-pass tests.
2013-11-26librustc: Remove remaining uses of `&fn()` in favor of `||`.Patrick Walton-2/+2
2013-11-24Remove linked failure from the runtimeAlex Crichton-1/+1
The reasons for doing this are: * The model on which linked failure is based is inherently complex * The implementation is also very complex, and there are few remaining who fully understand the implementation * There are existing race conditions in the core context switching function of the scheduler, and possibly others. * It's unclear whether this model of linked failure maps well to a 1:1 threading model Linked failure is often a desired aspect of tasks, but we would like to take a much more conservative approach in re-implementing linked failure if at all. Closes #8674 Closes #8318 Closes #8863
2013-11-19libstd: Change all uses of `&fn(A)->B` over to `|A|->B` in libstdPatrick Walton-4/+4
2013-11-18libstd: Change all `~fn()`s to `proc`s in the standard library.Patrick Walton-10/+0
This makes `Cell`s no longer necessary in most cases.
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-1/+1
Who doesn't like a massive renaming?
2013-09-30std: Remove usage of fmt!Alex Crichton-1/+1
2013-09-25rustdoc: Change all code-blocks with a scriptAlex Crichton-2/+2
find src -name '*.rs' | xargs sed -i '' 's/~~~.*{\.rust}/```rust/g' find src -name '*.rs' | xargs sed -i '' 's/ ~~~$/ ```/g' find src -name '*.rs' | xargs sed -i '' 's/^~~~$/ ```/g'
2013-09-23test: Fix rustdoc and tests.Patrick Walton-11/+0
2013-09-23librustc: Remove `@fn` managed closures from the language.Patrick Walton-1/+0
2013-09-16switch Drop to `&mut self`Daniel Micay-1/+1
2013-08-22Enabled unit tests in std and extra.Vadim Chugunov-1/+0
2013-08-16doc: correct spelling in documentation.Huon Wilson-1/+1
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-06-11Add a finally impl for `extern "Rust" fn()`Alex Crichton-22/+16
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+139
This only changes the directory names; it does not change the "real" metadata names.