Fix the one and only clippy warning

Signed-off-by: trivernis <trivernis@protonmail.com>
i18n
trivernis 2 years ago
parent f763a7aaaf
commit 7baaced905
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -13,6 +13,5 @@ use rusqlite::Connection;
fn get_database_connection() -> Connection {
let db_path = format!("{}/.local/share/ame/db.sqlite", env::var("HOME").unwrap());
let conn = Connection::open(PathBuf::from(db_path)).expect("Couldn't connect to database");
conn
Connection::open(PathBuf::from(db_path)).expect("Couldn't connect to database")
}

Loading…
Cancel
Save