Formatting

This commit is contained in:
Jesper Axelsson 2020-04-12 11:33:58 +02:00 committed by Ryan Leckey
parent 719b04b61e
commit c6e9b2739b

View file

@ -216,10 +216,7 @@ fn get_base_url<'a>(db_url: &'a str) -> Result<DbUrl> {
let db_name = split[0];
let base_url = split[1];
Ok(DbUrl {
base_url,
db_name,
})
Ok(DbUrl { base_url, db_name })
}
async fn check_if_db_exists(db_url: &DbUrl<'_>) -> Result<bool> {