Remove unused imports in readme example (#2367)

This commit is contained in:
Yumin Wu
2023-11-28 18:29:10 +01:00
committed by GitHub
parent 6dd5d0be9d
commit b13b9d2288
-2
View File
@@ -29,11 +29,9 @@ applications written using [`hyper`] or [`tonic`].
use axum::{ use axum::{
routing::{get, post}, routing::{get, post},
http::StatusCode, http::StatusCode,
response::IntoResponse,
Json, Router, Json, Router,
}; };
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::net::SocketAddr;
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {