about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-06-10 19:06:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-06-17 09:07:17 -0700
commit3346fb044285c0b10480099ca3af921a053c38be (patch)
treebdec2aee90208a1958df97ee7e6eee18f811187f
parentd645f8fc286af1841f1a352ddc7282c6e9a7dd8f (diff)
downloadrust-3346fb044285c0b10480099ca3af921a053c38be.tar.gz
rust-3346fb044285c0b10480099ca3af921a053c38be.zip
std: Deprecate the `thunk` module
This has been replaced with `FnBox`
-rw-r--r--src/libstd/thunk.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/thunk.rs b/src/libstd/thunk.rs
index 084893314a8..f1dc91f135f 100644
--- a/src/libstd/thunk.rs
+++ b/src/libstd/thunk.rs
@@ -11,6 +11,7 @@
 // Because this module is temporary...
 #![allow(missing_docs)]
 #![unstable(feature = "thunk")]
+#![deprecated(since = "1.2.0", reason = "use FnBox instead")]
 
 use alloc::boxed::{Box, FnBox};
 use core::marker::Send;