File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ use sys_common::backtrace::*;
105
105
#[ cfg( all( target_os = "ios" , target_arch = "arm" ) ) ]
106
106
#[ inline( never) ]
107
107
pub fn write ( w : & mut Writer ) -> IoResult < ( ) > {
108
- use iter:: { Iterator , range} ;
108
+ use iter:: { IteratorExt , range} ;
109
109
use result;
110
110
use slice:: SliceExt ;
111
111
@@ -117,7 +117,7 @@ pub fn write(w: &mut Writer) -> IoResult<()> {
117
117
// while it doesn't requires lock for work as everything is
118
118
// local, it still displays much nicer backtraces when a
119
119
// couple of tasks panic simultaneously
120
- static LOCK : StaticNativeMutex = NATIVE_MUTEX_INIT ;
120
+ static LOCK : StaticMutex = MUTEX_INIT ;
121
121
let _g = unsafe { LOCK . lock ( ) } ;
122
122
123
123
try!( writeln ! ( w, "stack backtrace:" ) ) ;
You can’t perform that action at this time.
0 commit comments