summaryrefslogtreecommitdiff
path: root/src/eager_unix.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/eager_unix.rs')
-rw-r--r--src/eager_unix.rs2
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());