std: Deprecate the thunk
module
This has been replaced with `FnBox`
This commit is contained in:
parent
d645f8fc28
commit
3346fb0442
1 changed files with 1 additions and 0 deletions
|
@ -11,6 +11,7 @@
|
||||||
// Because this module is temporary...
|
// Because this module is temporary...
|
||||||
#![allow(missing_docs)]
|
#![allow(missing_docs)]
|
||||||
#![unstable(feature = "thunk")]
|
#![unstable(feature = "thunk")]
|
||||||
|
#![deprecated(since = "1.2.0", reason = "use FnBox instead")]
|
||||||
|
|
||||||
use alloc::boxed::{Box, FnBox};
|
use alloc::boxed::{Box, FnBox};
|
||||||
use core::marker::Send;
|
use core::marker::Send;
|
||||||
|
|
Loading…
Reference in a new issue