Update to Rust 2024 edition
Formatted code.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use bcrypt::{hash, verify, DEFAULT_COST};
|
||||
use bcrypt::{DEFAULT_COST, hash, verify};
|
||||
use diesel::prelude::*;
|
||||
use diesel::sqlite::SqliteConnection;
|
||||
use std::ops::DerefMut;
|
||||
@@ -30,7 +30,7 @@ impl SqliteUserDao {
|
||||
#[cfg(test)]
|
||||
pub mod test {
|
||||
use diesel::{Connection, SqliteConnection};
|
||||
use diesel_migrations::{embed_migrations, EmbeddedMigrations, MigrationHarness};
|
||||
use diesel_migrations::{EmbeddedMigrations, MigrationHarness, embed_migrations};
|
||||
|
||||
const DB_MIGRATIONS: EmbeddedMigrations = embed_migrations!();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user