Add (unstable) FnBox trait as a nicer replacement for Thunk. The doc

comment includes a test that also shows how it can be used.
This commit is contained in:
Niko Matsakis
2015-04-01 10:11:46 -04:00
parent d528aa9960
commit ed63d32651
2 changed files with 76 additions and 0 deletions

View File

@@ -243,6 +243,7 @@ mod uint_macros;
#[path = "num/f64.rs"] pub mod f64;
pub mod ascii;
pub mod thunk;
/* Common traits */