Skip to content

Commit

Permalink
chore(formatting): Fixed formatting mistakes (#1153)
Browse files Browse the repository at this point in the history
fixed formatting mistakes have sneaked into prod

Co-authored-by: CommanderStorm <[email protected]>
  • Loading branch information
github-actions[bot] and CommanderStorm authored May 6, 2024
1 parent 61748e3 commit 4f26e24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ lto = "thin"
# Enable max optimizations for dependencies, but not for our code
# nessesary to get acceptable performance out of the image processing code
[profile.dev.package."*"]
opt-level = 3
opt-level = 3
7 changes: 3 additions & 4 deletions server/main-api/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ use std::collections::HashMap;
use std::error::Error;

use actix_cors::Cors;
use actix_web::{App, get, HttpResponse, HttpServer, middleware, web};
use actix_web::{get, middleware, web, App, HttpResponse, HttpServer};
use actix_web_prom::PrometheusMetricsBuilder;
use log::{debug, error, info};
use sqlx::PgPool;
use sqlx::postgres::PgPoolOptions;
use sqlx::prelude::*;
use sqlx::PgPool;

mod calendar;
mod details;
Expand Down Expand Up @@ -57,8 +57,7 @@ fn connection_string() -> String {
fn setup_logging() {
#[cfg(debug_assertions)]
{
let env = env_logger::Env::default()
.default_filter_or("trace");
let env = env_logger::Env::default().default_filter_or("trace");
env_logger::Builder::from_env(env).init();
}
#[cfg(not(debug_assertions))]
Expand Down

0 comments on commit 4f26e24

Please sign in to comment.