Skip to content

Commit a87ff60

Browse files
committed
std: remove impl'd/commented-out fstat signatures
1 parent e9acdd9 commit a87ff60

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/libstd/rt/rtio.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ pub trait IoFactory {
7575
fn fs_unlink<P: PathLike>(&mut self, path: &P) -> Result<(), IoError>;
7676
fn get_host_addresses(&mut self, host: &str) -> Result<~[IpAddr], IoError>;
7777
fn fs_stat<P: PathLike>(&mut self, path: &P) -> Result<FileStat, IoError>;
78-
//fn fs_fstat(&mut self, fd: c_int) -> Result<FileStat, IoError>;
7978
fn fs_mkdir<P: PathLike>(&mut self, path: &P) -> Result<(), IoError>;
8079
fn fs_rmdir<P: PathLike>(&mut self, path: &P) -> Result<(), IoError>;
8180
fn fs_readdir<P: PathLike>(&mut self, path: &P, flags: c_int) ->

src/libstd/rt/uv/uvio.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,9 +686,6 @@ impl IoFactory for UvIoFactory {
686686
assert!(!result_cell.is_empty());
687687
return result_cell.take();
688688
}
689-
//fn fs_fstat(&mut self, _fd: c_int) -> Result<FileStat, IoError> {
690-
// Ok(FileStat)
691-
//}
692689
fn fs_mkdir<P: PathLike>(&mut self, path: &P) -> Result<(), IoError> {
693690
let mode = S_IRWXU as int;
694691
do uv_fs_helper(self.uv_loop(), path) |mkdir_req, l, p, cb| {

0 commit comments

Comments
 (0)