fix(clippy): fix clippy on nightly
This commit is contained in:
parent
32198c69b0
commit
e39c8dae8c
|
@ -42,11 +42,9 @@ async fn main() {
|
||||||
// if database file exists
|
// if database file exists
|
||||||
else {
|
else {
|
||||||
// open database connection
|
// open database connection
|
||||||
let db = Database::open(DATABASE_FILE)
|
Database::open(DATABASE_FILE)
|
||||||
.await
|
.await
|
||||||
.expect("open database file");
|
.expect("open database file")
|
||||||
|
|
||||||
db
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// change the type from Vec<String> to Vec<HeaderValue> so that the http server can correctly detect CORS hosts
|
// change the type from Vec<String> to Vec<HeaderValue> so that the http server can correctly detect CORS hosts
|
||||||
|
|
Loading…
Reference in New Issue