style: format code
This commit is contained in:
parent
486271a523
commit
f2398b650c
2 changed files with 4 additions and 6 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
use learn_axum::startup;
|
|
||||||
use learn_axum::configuration::get_configuration;
|
use learn_axum::configuration::get_configuration;
|
||||||
|
use learn_axum::startup;
|
||||||
use tokio::net::TcpListener;
|
use tokio::net::TcpListener;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
|
use learn_axum::configuration::get_configuration;
|
||||||
|
use sqlx::{Connection, PgConnection};
|
||||||
use std::net::SocketAddr;
|
use std::net::SocketAddr;
|
||||||
use tokio::net::TcpListener;
|
use tokio::net::TcpListener;
|
||||||
use sqlx::{PgConnection, Connection};
|
|
||||||
use learn_axum::configuration::get_configuration;
|
|
||||||
|
|
||||||
struct TestApp {
|
struct TestApp {
|
||||||
address: String,
|
address: String,
|
||||||
|
|
@ -92,7 +92,5 @@ async fn spawn_app() -> TestApp {
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
});
|
});
|
||||||
TestApp {
|
TestApp { address }
|
||||||
address
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue