mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
std: Deprecate the thunk
module
This has been replaced with `FnBox`
This commit is contained in:
parent
d645f8fc28
commit
3346fb0442
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user