summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eager_unix.rs2
-rw-r--r--src/flags.rs2
-rw-r--r--src/resources.rs2
3 files changed, 3 insertions, 3 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());
diff --git a/src/flags.rs b/src/flags.rs
index c5ce8643b..2a279ea9e 100644
--- a/src/flags.rs
+++ b/src/flags.rs
@@ -257,7 +257,7 @@ fn test_v8_set_flags_preprocess_2() {
pub fn v8_set_flags(args: Vec<String>) -> Vec<String> {
// deno_set_v8_flags(int* argc, char** argv) mutates argc and argv to remove
// flags that v8 understands.
- // First parse core args, then converto to a vector of C strings.
+ // First parse core args, then convert to a vector of C strings.
let (argv, rest) = v8_set_flags_preprocess(args);
let mut argv = argv
.iter()
diff --git a/src/resources.rs b/src/resources.rs
index 5a41ee2db..a959d5c55 100644
--- a/src/resources.rs
+++ b/src/resources.rs
@@ -1,7 +1,7 @@
// Copyright 2018 the Deno authors. All rights reserved. MIT license.
// Think of Resources as File Descriptors. They are integers that are allocated
-// by the privlaged side of Deno to refer to various resources. The simplest
+// by the privileged side of Deno to refer to various resources. The simplest
// example are standard file system files and stdio - but there will be other
// resources added in the future that might not correspond to operating system
// level File Descriptors. To avoid confusion we call them "resources" not "file