style: use default instead equal with option value
This commit is contained in:
parent
9988943aae
commit
5e28aa9d4c
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ fn is_sqlite_database_file(filename: &str) -> bool {
|
|||
.rsplit('.')
|
||||
.next()
|
||||
.map(|ext| ext.eq_ignore_ascii_case("db"))
|
||||
== Some(true)
|
||||
.unwrap_or_default()
|
||||
}
|
||||
|
||||
fn default_database_connection_env() -> String {
|
||||
|
|
Reference in a new issue