Skip to content

Commit

Permalink
fix: whitespace caused by clion formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
thesurlydev committed Apr 15, 2023
1 parent 2e5d33d commit 6a8fc5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async fn main() {

// setup connection pool
let pool = PgPoolOptions::new()
.max_connections({ { db_max_connections } })
.max_connections({{db_max_connections}})
.acquire_timeout(Duration::from_secs(3))
.connect(&db_connection_str)
.await
Expand All @@ -36,7 +36,7 @@ async fn main() {
.with_state(pool);

// run it with hyper
let addr = SocketAddr::from(([0, 0, 0, 0], { { port } }));
let addr = SocketAddr::from(([0, 0, 0, 0], {{port}}));
tracing::debug!("listening on {}", addr);
axum::Server::bind(&addr)
.serve(app.into_make_service())
Expand Down

0 comments on commit 6a8fc5f

Please sign in to comment.