mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-14 00:07:05 +00:00
Formatting
This commit is contained in:
parent
719b04b61e
commit
c6e9b2739b
1 changed files with 1 additions and 4 deletions
|
@ -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> {
|
||||
|
|
Loading…
Reference in a new issue