Skip to content

Commit

Permalink
Some fmt changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RileyChampion committed Dec 26, 2024
1 parent 64f1d9d commit 7d58fdd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async fn register_form(
}

async fn event_create(State(state): State<Arc<AppState>>) -> AppResult<Response> {
let mut ctx = tera::Context::new();
let ctx = tera::Context::new();
let html = state.templates.render("event-create.tera.html", &ctx).unwrap();
Ok(Html(html).into_response())
}
Expand Down
1 change: 0 additions & 1 deletion src/utils/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use anyhow::Result;
use lettre::message::Mailbox;
use rand::{rngs::OsRng, Rng as _};
use sqlx::{migrate::MigrateDatabase, sqlite::SqliteQueryResult, Error, Sqlite, SqlitePool};
use toml::value::Datetime;

#[derive(Clone)]
pub struct Db {
Expand Down

0 comments on commit 7d58fdd

Please sign in to comment.