Skip to content

Commit

Permalink
chore: remove repetitive words (hyperium#1653)
Browse files Browse the repository at this point in the history
Signed-off-by: pavedroad <qcqs@outlook.com>
  • Loading branch information
pavedroad committed Mar 13, 2024
1 parent 759d76d commit eeb3268
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/routeguide-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ async fn print_features(client: &mut RouteGuideClient<Channel>) -> Result<(), Bo
As in the simple RPC, we pass a single value request. However, instead of getting a
single value back, we get a stream of `Features`.

We use the the `message()` method from the `tonic::Streaming` struct to repeatedly read in the
We use the `message()` method from the `tonic::Streaming` struct to repeatedly read in the
server's responses to a response protocol buffer object (in this case a `Feature`) until there are
no more messages left in the stream.

Expand Down
2 changes: 1 addition & 1 deletion tonic/src/transport/service/add_origin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ where
// Split the request into the head and the body.
let (mut head, body) = req.into_parts();

// Update the the request URI
// Update the request URI
head.uri = {
// Split the request URI into parts.
let mut uri: http::uri::Parts = head.uri.into();
Expand Down

0 comments on commit eeb3268

Please sign in to comment.