Skip to content

Commit 7194b56

Browse files
committed
chore: adjusted clippy
1 parent e46d79f commit 7194b56

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ impl Config {
4646
}
4747
}
4848
}
49+
impl Default for Config {
50+
fn default() -> Self {
51+
Self::new()
52+
}
53+
}
4954

5055
pub mod controller;
5156
pub mod postgres;

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async fn main() -> io::Result<()> {
2626
dotenv().ok();
2727

2828
let state = State::default();
29-
let config = Config::new();
29+
let config = Config::default();
3030

3131
let controller = controller::run(state.clone(), config);
3232

0 commit comments

Comments
 (0)