about summary refs log tree commit diff
path: root/src/libstd/lib.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2014-11-26 10:10:52 -0500
committerNiko Matsakis <niko@alum.mit.edu>2014-12-14 04:21:56 -0500
commitd61338172fa110fcf9e5f2df0e1e83635d0fde3f (patch)
tree5a022b681067ce30acf73e06aef9896f3cfd4be2 /src/libstd/lib.rs
parent10ac5b72f1974775bed499105c2a3cf18da98f32 (diff)
downloadrust-d61338172fa110fcf9e5f2df0e1e83635d0fde3f.tar.gz
rust-d61338172fa110fcf9e5f2df0e1e83635d0fde3f.zip
Rewrite threading infrastructure, introducing `Thunk` to represent
boxed `FnOnce` closures.
Diffstat (limited to 'src/libstd/lib.rs')
-rw-r--r--src/libstd/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index c2363c9946a..e99aba9b673 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -171,6 +171,8 @@ pub use rustrt::c_str;
 
 pub use unicode::char;
 
+pub use rustrt::thunk;
+
 /* Exported macros */
 
 pub mod macros;