utils (crypto): fix cargo tests

This commit is contained in:
MedzikUser 2022-04-18 00:16:32 +02:00
parent 5b79b4f7e2
commit c7a909fcb7
No known key found for this signature in database
GPG Key ID: A5FAC1E185C112DB
2 changed files with 2 additions and 1 deletions

1
Cargo.lock generated
View File

@ -290,6 +290,7 @@ version = "0.24.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "898745e570c7d0453cc1fbc4a701eb6c662ed54e8fec8b7d14be137ebeeb9d14"
dependencies = [
"cc",
"pkg-config",
"vcpkg",
]

View File

@ -32,7 +32,7 @@ impl Database {
/// let db = Database { conn: Connection::open_in_memory().unwrap() };
/// let user = User::new("medzik", "SuperSecretPassword123").unwrap();
///
/// db.conn.execute(&fs::read_to_string("../template.sql").unwrap(), []).unwrap();
/// db.conn.execute(&fs::read_to_string("../tables.sql").unwrap(), []).unwrap();
///
/// db.create_user(user).unwrap();
/// ```