Fallout of c933d44f7bb9
This commit is contained in:
parent
f59af75bd8
commit
0b01a9bb4b
@ -118,7 +118,7 @@ pub fn write(w: &mut Write) -> io::Result<()> {
|
||||
// local, it still displays much nicer backtraces when a
|
||||
// couple of tasks panic simultaneously
|
||||
static LOCK: StaticMutex = MUTEX_INIT;
|
||||
let _g = unsafe { LOCK.lock() };
|
||||
let _g = LOCK.lock();
|
||||
|
||||
try!(writeln!(w, "stack backtrace:"));
|
||||
// 100 lines should be enough
|
||||
|
Loading…
x
Reference in New Issue
Block a user