Skip to content

Commit 82ca13d

Browse files
committed
docs: fix typos
1 parent 3a755a6 commit 82ca13d

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/ISSUES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ An optional step when triaging is to adjust the title once more information is
4848
known. Sometimes an issue starts as a question, and through discussion, it
4949
turns out to be a feature request, or a bug report. In those cases, the title
5050
should be changed from a question, and the title should be a succict action to
51-
be taken. For example, a question about an non-existant configuration option
51+
be taken. For example, a question about an non-existent configuration option
5252
may be reworded to "Add option to Client to do Zed".
5353

5454
### Mentoring

docs/ROADMAP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ of `http` and `hyper` are prepared for that, there's two potential problems.
8282
- New HTTP versions
8383
- HTTP/3 will require a new transport abstraction. It's not as simple as just using some
8484
`impl AsyncRead + AsyncWrite`. While HTTP/2 bundled the concept of stream creation internally,
85-
and thus could be managed wholy on top of a read-write transport, HTTP/3 is different. Stream
85+
and thus could be managed wholly on top of a read-write transport, HTTP/3 is different. Stream
8686
creation is shifted to the QUIC protocol, and HTTP/3 needs to be able to use that directly.
8787
- This means the existing `Connection` types for both client and server will not be able to
8888
accept a QUIC transport so we can add HTTP/3 support.

src/common/io/rewind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ where
6060
// TODO: There should be a way to do following two lines cleaner...
6161
buf.put_slice(&prefix[..copy_len]);
6262
prefix.advance(copy_len);
63-
// Put back whats left
63+
// Put back what's left
6464
if !prefix.is_empty() {
6565
self.pre = Some(prefix);
6666
}

src/proto/h1/conn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ where
586586
}
587587
}
588588

589-
// Fix keep-alives when Connection: keep-alive header is not present
589+
// Fix keep-alive when Connection: keep-alive header is not present
590590
fn fix_keep_alive(&mut self, head: &mut MessageHead<T::Outgoing>) {
591591
let outgoing_is_keep_alive = head
592592
.headers

src/proto/h1/role.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ impl Http1Transaction for Client {
949949
#[cfg(feature = "ffi")]
950950
let reason = {
951951
let reason = res.reason.unwrap();
952-
// Only save the reason phrase if it isnt the canonical reason
952+
// Only save the reason phrase if it isn't the canonical reason
953953
if Some(reason) != status.canonical_reason() {
954954
Some(Bytes::copy_from_slice(reason.as_bytes()))
955955
} else {

src/proto/h2/server.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ where
143143
#[cfg(feature = "runtime")]
144144
keep_alive_timeout: config.keep_alive_timeout,
145145
// If keep-alive is enabled for servers, always enabled while
146-
// idle, so it can more aggresively close dead connections.
146+
// idle, so it can more aggressively close dead connections.
147147
#[cfg(feature = "runtime")]
148148
keep_alive_while_idle: true,
149149
};
@@ -264,7 +264,7 @@ where
264264
let reason = err.h2_reason();
265265
if reason == Reason::NO_ERROR {
266266
// NO_ERROR is only used for graceful shutdowns...
267-
trace!("interpretting NO_ERROR user error as graceful_shutdown");
267+
trace!("interpreting NO_ERROR user error as graceful_shutdown");
268268
self.conn.graceful_shutdown();
269269
} else {
270270
trace!("abruptly shutting down with {:?}", reason);

0 commit comments

Comments
 (0)