Archived
1
0
Fork 0

style: use default instead equal with option value

This commit is contained in:
Dmitriy Pleshevskiy 2021-07-30 23:08:37 +03:00
parent 9988943aae
commit 5e28aa9d4c

View file

@ -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 {