chore: fix formatting

Signed-off-by: Till Wegmueller <toasterson@gmail.com>
This commit is contained in:
Till Wegmueller 2025-11-29 13:28:06 +01:00
parent 01f4dce818
commit 85cd971aa4
No known key found for this signature in database

View file

@ -2,8 +2,7 @@ use miette::{IntoDiagnostic, Result};
use serde::{Deserialize, Serialize}; use serde::{Deserialize, Serialize};
use std::path::{Path, PathBuf}; use std::path::{Path, PathBuf};
#[derive(Debug, Clone, Serialize, Deserialize)] #[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[derive(Default)]
pub struct Settings { pub struct Settings {
pub server: Server, pub server: Server,
pub database: Database, pub database: Database,
@ -72,7 +71,6 @@ impl Default for Keys {
} }
} }
impl Settings { impl Settings {
pub fn load(path: &str) -> Result<Self> { pub fn load(path: &str) -> Result<Self> {
let mut builder = config::Config::builder() let mut builder = config::Config::builder()