Remove unused imports in readme example (#2367)

This commit is contained in:
Yumin Wu 2023-11-29 01:29:10 +08:00 committed by GitHub
parent 6dd5d0be9d
commit b13b9d2288
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,11 +29,9 @@ applications written using [`hyper`] or [`tonic`].
use axum::{
routing::{get, post},
http::StatusCode,
response::IntoResponse,
Json, Router,
};
use serde::{Deserialize, Serialize};
use std::net::SocketAddr;
#[tokio::main]
async fn main() {