File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ impl Local for IoFactoryObject {
126
126
fn take ( ) -> ~IoFactoryObject { rtabort ! ( "unimpl" ) }
127
127
fn exists ( ) -> bool { rtabort ! ( "unimpl" ) }
128
128
fn borrow < T > ( _f : & fn ( & mut IoFactoryObject ) -> T ) -> T { rtabort ! ( "unimpl" ) }
129
-
129
+
130
130
unsafe fn unsafe_take ( ) -> ~IoFactoryObject { rtabort ! ( "unimpl" ) }
131
131
unsafe fn unsafe_borrow ( ) -> * mut IoFactoryObject {
132
132
let sched = Local :: unsafe_borrow :: < Scheduler > ( ) ;
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ pub unsafe fn unsafe_borrow<T>() -> *mut T {
123
123
let key = tls_key ( ) ;
124
124
let mut void_ptr: * mut c_void = tls:: get ( key) ;
125
125
if void_ptr. is_null ( ) {
126
- rtabort ! ( "thread-local pointer is null. bogus!" )
126
+ rtabort ! ( "thread-local pointer is null. bogus!" )
127
127
}
128
128
let ptr: * mut * mut c_void = & mut void_ptr;
129
129
let ptr: * mut ~T = ptr as * mut ~T ;
You can’t perform that action at this time.
0 commit comments