File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -243,16 +243,16 @@ fn init_current(current: *mut ()) -> Thread {
243243 // a particular API should be entirely allocation-free, feel free to open
244244 // an issue on the Rust repository, we'll see what we can do.
245245 rtabort ! (
246- "\n
247- Attempted to access thread-local data while allocating said data.\n
248- Do not access functions that allocate in the global allocator!\n
249- This is a bug in the global allocator.\n
246+ "\n \
247+ Attempted to access thread-local data while allocating said data.\n \
248+ Do not access functions that allocate in the global allocator!\n \
249+ This is a bug in the global allocator.\n \
250250 "
251251 )
252252 } else {
253253 debug_assert_eq ! ( current, DESTROYED ) ;
254254 panic ! (
255- "use of std::thread::current() is not possible after the thread's
255+ "use of std::thread::current() is not possible after the thread's \
256256 local data has been destroyed"
257257 )
258258 }
You can’t perform that action at this time.
0 commit comments