comment cleanup

main
Zynh0722 2023-09-26 17:14:40 -07:00
parent 061a875e15
commit 2bd0925676
1 changed files with 0 additions and 2 deletions

View File

@ -45,7 +45,6 @@ impl AppState {
#[tokio::main] #[tokio::main]
async fn main() { async fn main() {
// initialize tracing // initialize tracing
// tracing_subscriber::fmt::init();
tracing_subscriber::registry() tracing_subscriber::registry()
.with( .with(
tracing_subscriber::EnvFilter::try_from_default_env() tracing_subscriber::EnvFilter::try_from_default_env()
@ -72,7 +71,6 @@ async fn main() {
.unwrap(); .unwrap();
} }
// basic handler that responds with a static string
async fn root(State(state): State<AppState>) -> impl IntoResponse { async fn root(State(state): State<AppState>) -> impl IntoResponse {
let mut conn = state.connection.get().await.unwrap(); let mut conn = state.connection.get().await.unwrap();