Skip to content

Commit fabb886

Browse files
author
crazehang
authored
chore: remove repetitive words in comment (hyperium#3619)
Signed-off-by: crazehang <[email protected]>
1 parent 330ddf1 commit fabb886

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/send_file.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async fn response_examples(
4949
match (req.method(), req.uri().path()) {
5050
(&Method::GET, "/") | (&Method::GET, "/index.html") => simple_file_send(INDEX).await,
5151
(&Method::GET, "/no_file.html") => {
52-
// Test what happens when file cannot be be found
52+
// Test what happens when file cannot be found
5353
simple_file_send("this_file_should_not_exist.html").await
5454
}
5555
_ => Ok(not_found()),

src/client/dispatch.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub(crate) struct Sender<T, U> {
4040
/// without notice.
4141
#[cfg(feature = "http1")]
4242
buffered_once: bool,
43-
/// The Giver helps watch that the the Receiver side has been polled
43+
/// The Giver helps watch that the Receiver side has been polled
4444
/// when the queue is empty. This helps us know when a request and
4545
/// response have been fully processed, and a connection is ready
4646
/// for more.

0 commit comments

Comments
 (0)