diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2015-04-01 10:11:46 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2015-04-01 14:40:44 -0400 |
| commit | ed63d32651105e56afceb94cbb86f115db235825 (patch) | |
| tree | d1df549a70af147589428d8ade908d1f0560d62f /src/libstd | |
| parent | d528aa9960cb9b937d8ef6c09905a6a8076d5f3a (diff) | |
| download | rust-ed63d32651105e56afceb94cbb86f115db235825.tar.gz rust-ed63d32651105e56afceb94cbb86f115db235825.zip | |
Add (unstable) FnBox trait as a nicer replacement for `Thunk`. The doc
comment includes a test that also shows how it can be used.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 41ac3d60df5..3c73ce7634c 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -243,6 +243,7 @@ mod uint_macros; #[path = "num/f64.rs"] pub mod f64; pub mod ascii; + pub mod thunk; /* Common traits */ |
