Skip to content

Commit

Permalink
Fix comment in testing example
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn committed Nov 27, 2023
1 parent 773bb5d commit 9d0e634
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/testing/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ mod tests {
extract::connect_info::MockConnectInfo,
http::{self, Request, StatusCode},
};
use http_body_util::BodyExt;
use http_body_util::BodyExt; // for `collect`
use serde_json::{json, Value};
use std::net::SocketAddr;
use tokio::net::TcpListener;
use tower::Service; // for `call`
use tower::ServiceExt; // for `oneshot` and `ready` // for `collect`
use tower::{Service, ServiceExt}; // for `call`, `oneshot`, and `ready`

#[tokio::test]
async fn hello_world() {
Expand Down

0 comments on commit 9d0e634

Please sign in to comment.