summary refs log tree commit diff
path: root/src/libstd/any.rs
AgeCommit message (Collapse)AuthorLines
2013-12-27std: uniform modules titles for docLuca Bruno-0/+2
This commit uniforms the short title of modules provided by libstd, in order to make their roles more explicit when glancing at the index. Signed-off-by: Luca Bruno <lucab@debian.org>
2013-12-24std: Get stdtest all passing againAlex Crichton-5/+10
This commit brings the library up-to-date in order to get all tests passing again
2013-12-24std: Change Any::move to never consume the objectAlex Crichton-9/+10
If the dynamic cast fails, this now returns the ~Any instance back to the caller.
2013-12-11Make 'self lifetime illegal.Erik Price-9/+9
Also remove all instances of 'self within the codebase. This fixes #10889.
2013-12-09auto merge of #10840 : cmr/rust/any_docs2, r=huonwbors-1/+8
2013-12-09Add some Any docs.Corey Richardson-1/+8
2013-12-06Made Results API more composableMarvin Löbel-1/+0
2013-12-03Register new snapshotsAlex Crichton-39/+0
2013-11-30Wrap the return value of the type_id intrinsic in an opaque boxCorey Richardson-23/+8
Closes #10594
2013-11-11Fix path parsingSeo Sanghyeon-1/+1
2013-11-08Implement IterBytes for TypeIdTomas Sedovic-0/+15
2013-11-06Register new snapshotsAlex Crichton-15/+0
2013-11-01Remove unnecessary unwind messagesAlex Crichton-3/+4
Now that the type_id intrinsic is working across crates, all of these unnecessary messages can be removed to have the failure type for a task truly be ~Any and only ~Any
2013-11-01Add a type_id intrinsicAlex Crichton-17/+42
Closes #9913
2013-10-28Allow fail messages to be caught, and introduce the Any traitMarvin Löbel-0/+418
Some code cleanup, sorting of import blocks Removed std::unstable::UnsafeArc's use of Either Added run-fail tests for the new FailWithCause impls Changed future_result and try to return Result<(), ~Any>. - Internally, there is an enum of possible fail messages passend around. - In case of linked failure or a string message, the ~Any gets lazyly allocated in future_results recv method. - For that, future result now returns a wrapper around a Port. - Moved and renamed task::TaskResult into rt::task::UnwindResult and made it an internal enum. - Introduced a replacement typedef `type TaskResult = Result<(), ~Any>`.