comment cleanup
This commit is contained in:
parent
061a875e15
commit
2bd0925676
1 changed files with 0 additions and 2 deletions
|
@ -45,7 +45,6 @@ impl AppState {
|
|||
#[tokio::main]
|
||||
async fn main() {
|
||||
// initialize tracing
|
||||
// tracing_subscriber::fmt::init();
|
||||
tracing_subscriber::registry()
|
||||
.with(
|
||||
tracing_subscriber::EnvFilter::try_from_default_env()
|
||||
|
@ -72,7 +71,6 @@ async fn main() {
|
|||
.unwrap();
|
||||
}
|
||||
|
||||
// basic handler that responds with a static string
|
||||
async fn root(State(state): State<AppState>) -> impl IntoResponse {
|
||||
let mut conn = state.connection.get().await.unwrap();
|
||||
|
||||
|
|
Loading…
Reference in a new issue