Use nightly clippy & rustfmt for more style checks (#487)

This commit is contained in:
Jonas Platte
2021-11-09 11:53:57 +00:00
committed by GitHub
parent bcd18a03bc
commit 9c77ee0295
32 changed files with 69 additions and 65 deletions
+4 -2
View File
@@ -47,8 +47,10 @@ fn app() -> Router {
#[cfg(test)]
mod tests {
use super::*;
use axum::body::Body;
use axum::http::{self, Request, StatusCode};
use axum::{
body::Body,
http::{self, Request, StatusCode},
};
use serde_json::{json, Value};
use std::net::{SocketAddr, TcpListener};
use tower::ServiceExt; // for `app.oneshot()`