Skip to content

Commit 7d2404c

Browse files
committed
Move native thread name setting from thread_info to Thread, fixes #21911
1 parent dca49e0 commit 7d2404c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/thread.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ use ops::{Drop, FnOnce};
156156
use option::Option::{self, Some, None};
157157
use result::Result::{Err, Ok};
158158
use sync::{Mutex, Condvar, Arc};
159+
use str::Str;
159160
use string::String;
160161
use rt::{self, unwind};
161162
use old_io::{Writer, stdio};

0 commit comments

Comments
 (0)