Skip to content

Commit 0927399

Browse files
committed
Whitespace
1 parent 2e86230 commit 0927399

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libstd/rt/local.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ impl Local for IoFactoryObject {
126126
fn take() -> ~IoFactoryObject { rtabort!("unimpl") }
127127
fn exists() -> bool { rtabort!("unimpl") }
128128
fn borrow<T>(_f: &fn(&mut IoFactoryObject) -> T) -> T { rtabort!("unimpl") }
129-
129+
130130
unsafe fn unsafe_take() -> ~IoFactoryObject { rtabort!("unimpl") }
131131
unsafe fn unsafe_borrow() -> *mut IoFactoryObject {
132132
let sched = Local::unsafe_borrow::<Scheduler>();

src/libstd/rt/local_ptr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ pub unsafe fn unsafe_borrow<T>() -> *mut T {
123123
let key = tls_key();
124124
let mut void_ptr: *mut c_void = tls::get(key);
125125
if void_ptr.is_null() {
126-
rtabort!("thread-local pointer is null. bogus!")
126+
rtabort!("thread-local pointer is null. bogus!")
127127
}
128128
let ptr: *mut *mut c_void = &mut void_ptr;
129129
let ptr: *mut ~T = ptr as *mut ~T;

0 commit comments

Comments
 (0)