From 30532884f83c4346f736dee5df03e812bde94ddc Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 31 Mar 2015 11:41:18 -0700 Subject: Test fixes and rebase conflicts, round 2 --- src/libstd/sys/windows/fs.rs | 7 ------- src/libstd/sys/windows/process.rs | 1 - 2 files changed, 8 deletions(-) (limited to 'src/libstd/sys/windows') diff --git a/src/libstd/sys/windows/fs.rs b/src/libstd/sys/windows/fs.rs index 3330130c770..f534a33d8cc 100644 --- a/src/libstd/sys/windows/fs.rs +++ b/src/libstd/sys/windows/fs.rs @@ -135,13 +135,6 @@ impl FileDesc { _ => Err(super::last_error()), } } - - /// Extract the actual filedescriptor without closing it. - pub fn unwrap(self) -> fd_t { - let fd = self.fd; - unsafe { mem::forget(self) }; - fd - } } impl Drop for FileDesc { diff --git a/src/libstd/sys/windows/process.rs b/src/libstd/sys/windows/process.rs index 2065df4fbe3..414083bc41f 100644 --- a/src/libstd/sys/windows/process.rs +++ b/src/libstd/sys/windows/process.rs @@ -24,7 +24,6 @@ use old_io::process::{ProcessExit, ExitStatus}; use old_io::{IoResult, IoError}; use old_io; use fs::PathExt; -use os; use old_path::{BytesContainer, GenericPath}; use ptr; use str; -- cgit 1.4.1-3-g733a5