summaryrefslogtreecommitdiffstats
path: root/src/sqlite3.rs
diff options
context:
space:
mode:
authorManos Pitsidianakis <el13635@mail.ntua.gr>2020-07-05 15:28:55 +0300
committerManos Pitsidianakis <el13635@mail.ntua.gr>2020-07-06 15:27:08 +0300
commita7e177586aa363e7dee2d5c311bb79d254d833ab (patch)
treef125403fb83a0184a3cd70228898e01d0a71ea25 /src/sqlite3.rs
parentbbedeed3e37b5d145977c5ffbd75788f9ca1f4d5 (diff)
Fix clippy lints
Diffstat (limited to 'src/sqlite3.rs')
-rw-r--r--src/sqlite3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqlite3.rs b/src/sqlite3.rs
index dbe6e60b..450cae41 100644
--- a/src/sqlite3.rs
+++ b/src/sqlite3.rs
@@ -40,8 +40,8 @@ use std::convert::TryInto;
use std::path::PathBuf;
use std::sync::{Arc, RwLock};
-const DB_NAME: &'static str = "index.db";
-const INIT_SCRIPT: &'static str = "CREATE TABLE IF NOT EXISTS envelopes (
+const DB_NAME: &str = "index.db";
+const INIT_SCRIPT: &str = "CREATE TABLE IF NOT EXISTS envelopes (
id INTEGER PRIMARY KEY,
account_id INTEGER REFERENCES accounts ON UPDATE CASCADE,
hash BLOB NOT NULL UNIQUE,