Skip to content

Commit

Permalink
chore: remove repetitive words in comment (#3619)
Browse files Browse the repository at this point in the history
Signed-off-by: crazehang <zhangrenzhong@outlook.com>
  • Loading branch information
crazehang committed Apr 3, 2024
1 parent 330ddf1 commit fabb886
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/send_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async fn response_examples(
match (req.method(), req.uri().path()) {
(&Method::GET, "/") | (&Method::GET, "/index.html") => simple_file_send(INDEX).await,
(&Method::GET, "/no_file.html") => {
// Test what happens when file cannot be be found
// Test what happens when file cannot be found
simple_file_send("this_file_should_not_exist.html").await
}
_ => Ok(not_found()),
Expand Down
2 changes: 1 addition & 1 deletion src/client/dispatch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub(crate) struct Sender<T, U> {
/// without notice.
#[cfg(feature = "http1")]
buffered_once: bool,
/// The Giver helps watch that the the Receiver side has been polled
/// The Giver helps watch that the Receiver side has been polled
/// when the queue is empty. This helps us know when a request and
/// response have been fully processed, and a connection is ready
/// for more.
Expand Down

0 comments on commit fabb886

Please sign in to comment.