Fallout of c933d44f7bb9

This commit is contained in:
Tamir Duberstein 2015-03-14 15:38:59 -07:00
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