From e3fa23bcb64064d50c2a9e3b5870bc82081359d9 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Wed, 2 Jul 2014 21:27:07 -0400 Subject: Fix spelling errors. --- src/libnative/io/net.rs | 2 +- src/libnative/io/pipe_win32.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libnative') diff --git a/src/libnative/io/net.rs b/src/libnative/io/net.rs index dfc2c55cde7..f052826d303 100644 --- a/src/libnative/io/net.rs +++ b/src/libnative/io/net.rs @@ -877,7 +877,7 @@ pub fn write(fd: sock_t, } // Also as with read(), we use MSG_DONTWAIT to guard ourselves - // against unforseen circumstances. + // against unforeseen circumstances. let _guard = lock(); let ptr = buf.slice_from(written).as_ptr(); let len = buf.len() - written; diff --git a/src/libnative/io/pipe_win32.rs b/src/libnative/io/pipe_win32.rs index da713e3f2a9..e5e8cdeffd7 100644 --- a/src/libnative/io/pipe_win32.rs +++ b/src/libnative/io/pipe_win32.rs @@ -376,7 +376,7 @@ impl rtio::RtioPipe for UnixStream { if ret != 0 { return Ok(bytes_read as uint) } // If our errno doesn't say that the I/O is pending, then we hit some - // legitimate error and reeturn immediately. + // legitimate error and return immediately. if os::errno() != libc::ERROR_IO_PENDING as uint { return Err(super::last_error()) } -- cgit 1.4.1-3-g733a5