From ca3bc644f4d0ac92561da98f8d710b7f0e8eb68a Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Tue, 19 Mar 2013 20:37:53 -0700 Subject: libcore: Make a couple of constructors public. rs=testfixing --- src/libcore/rt/thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore/rt/thread.rs') diff --git a/src/libcore/rt/thread.rs b/src/libcore/rt/thread.rs index be1d86c9cf7..5dccf90096e 100644 --- a/src/libcore/rt/thread.rs +++ b/src/libcore/rt/thread.rs @@ -20,7 +20,7 @@ struct Thread { } impl Thread { - static fn start(main: ~fn()) -> Thread { + static pub fn start(main: ~fn()) -> Thread { fn substart(main: &fn()) -> *raw_thread { unsafe { rust_raw_thread_start(&main) } } -- cgit 1.4.1-3-g733a5