File tree 1 file changed +5
-5
lines changed
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 {
243
243
// a particular API should be entirely allocation-free, feel free to open
244
244
// an issue on the Rust repository, we'll see what we can do.
245
245
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 \
250
250
"
251
251
)
252
252
} else {
253
253
debug_assert_eq ! ( current, DESTROYED ) ;
254
254
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 \
256
256
local data has been destroyed"
257
257
)
258
258
}
You can’t perform that action at this time.
0 commit comments