Skip to content

Commit 3346fb0

Browse files
committed
std: Deprecate the thunk module
This has been replaced with `FnBox`
1 parent d645f8f commit 3346fb0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/thunk.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// Because this module is temporary...
1212
#![allow(missing_docs)]
1313
#![unstable(feature = "thunk")]
14+
#![deprecated(since = "1.2.0", reason = "use FnBox instead")]
1415

1516
use alloc::boxed::{Box, FnBox};
1617
use core::marker::Send;

0 commit comments

Comments
 (0)