]> git.lizzy.rs Git - rust.git/commit
std: Change Any::move to never consume the object
authorAlex Crichton <alex@alexcrichton.com>
Fri, 13 Dec 2013 01:36:30 +0000 (17:36 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 24 Dec 2013 22:42:00 +0000 (14:42 -0800)
commit1ca77268d97b62e2fcaa1642aaf9313e164963b3
tree750f69891c2e34dfe5a6b83c79bbd415a11ee785
parent76270816d527bfceef64bf6cbdc64f985ca73eba
std: Change Any::move to never consume the object

If the dynamic cast fails, this now returns the ~Any instance back to the
caller.
src/libstd/any.rs