Format os.rs

This commit is contained in:
rmliddle
2019-02-05 23:08:45 +11:00
parent 86e94f587b
commit aa2dff4bd9

View File

@@ -42,8 +42,8 @@ pub fn rust_file(raw_fileno: i64) -> File {
use std::os::windows::io::FromRawHandle;
//TODO: This is untested and (very) unsafe handling or
//raw pointers - This should be patched urgently by
//comparison to the cpython handling of the equivalent fileno
//raw pointers - This should be patched urgently by
//comparison to the cpython handling of the equivalent fileno
//fields for windows
unsafe { File::from_raw_handle(raw_fileno as *mut c_void) }
}