Skip to content

Commit 9cbcf3b

Browse files
committed
Fix typo
1 parent 1d2c89f commit 9cbcf3b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/config/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::api::*;
22
use actix_web::web;
33

44
pub fn config_services(cfg: &mut web::ServiceConfig) {
5-
info!("Configurating routes...");
5+
info!("Configuring routes...");
66
cfg.service(
77
web::scope("/api")
88
.service(ping_controller::ping)

src/config/db.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub type Pool = r2d2::Pool<ConnectionManager<Connection>>;
1818

1919
#[cfg(not(test))]
2020
pub fn migrate_and_config_db(url: &str) -> Pool {
21-
info!("Migrating and configurating database...");
21+
info!("Migrating and configuring database...");
2222
let manager = ConnectionManager::<Connection>::new(url);
2323
let pool = r2d2::Pool::builder().build(manager).expect("Failed to create pool.");
2424
embedded_migrations::run(&pool.get().expect("Failed to migrate."));
@@ -29,7 +29,7 @@ pub fn migrate_and_config_db(url: &str) -> Pool {
2929
#[cfg(test)]
3030
pub fn migrate_and_config_db(url: &str) -> Pool {
3131
use crate::diesel::RunQueryDsl;
32-
info!("Migrating and configurating database...");
32+
info!("Migrating and configuring database...");
3333
let manager = ConnectionManager::<Connection>::new(url);
3434
let pool = r2d2::Pool::builder().build(manager).expect("Failed to create pool.");
3535

0 commit comments

Comments
 (0)