diff options
author | Joseph <jngugi88@gmail.com> | 2018-10-24 18:54:34 +0300 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-24 08:54:34 -0700 |
commit | d2df67e8221877a14b77d5e185367717afe503f8 (patch) | |
tree | fc621b1dac796bf248093b5a85731d62f055b7ad /src/eager_unix.rs | |
parent | 5fbe6a242c36b3836fe646ab037a03a6c80e32d8 (diff) |
fix typos (#1083)
Diffstat (limited to 'src/eager_unix.rs')
-rw-r--r-- | src/eager_unix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eager_unix.rs b/src/eager_unix.rs index 8646e2b23..85f4106c4 100644 --- a/src/eager_unix.rs +++ b/src/eager_unix.rs @@ -17,7 +17,7 @@ pub fn tcp_read<T: AsMut<[u8]>>( resource: Resource, mut buf: T, ) -> EagerRead<Resource, T> { - // Unforunately we can't just call read() on tokio::net::TcpStream + // Unfortunately we can't just call read() on tokio::net::TcpStream let fd = (*tcp_stream).as_raw_fd(); let mut std_tcp_stream = unsafe { std::net::TcpStream::from_raw_fd(fd) }; let read_result = std_tcp_stream.read(buf.as_mut()); |