mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-07-04 04:55:47 +00:00
Fix clippy
This commit is contained in:
parent
c78c12ab2d
commit
8b0bd24ef8
|
@ -161,7 +161,7 @@ pub fn run_migrations(db_url: &str) {
|
|||
}
|
||||
|
||||
pub async fn build_db_pool(settings: &Settings) -> Result<DbPool, LemmyError> {
|
||||
Ok(build_db_pool_settings_opt(Some(settings)).await?)
|
||||
build_db_pool_settings_opt(Some(settings)).await
|
||||
}
|
||||
|
||||
pub async fn build_db_pool_for_tests() -> DbPool {
|
||||
|
|
Loading…
Reference in a new issue