Skip to content

Commit 0b01a9b

Browse files
committed
Fallout of c933d44
1 parent f59af75 commit 0b01a9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sys/unix/backtrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ pub fn write(w: &mut Write) -> io::Result<()> {
118118
// local, it still displays much nicer backtraces when a
119119
// couple of tasks panic simultaneously
120120
static LOCK: StaticMutex = MUTEX_INIT;
121-
let _g = unsafe { LOCK.lock() };
121+
let _g = LOCK.lock();
122122

123123
try!(writeln!(w, "stack backtrace:"));
124124
// 100 lines should be enough

0 commit comments

Comments
 (0)