Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JesperAxelsson authored and mehcode committed Apr 13, 2020
1 parent 719b04b commit c6e9b27
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cargo-sqlx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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> {
Expand Down

0 comments on commit c6e9b27

Please sign in to comment.