std: Deprecate the thunk module

This has been replaced with `FnBox`
This commit is contained in:
Alex Crichton 2015-06-10 19:06:45 -07:00
parent d645f8fc28
commit 3346fb0442

View File

@ -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;