mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-06-24 12:31:32 +00:00
Give &strs instead of Strings to Database::process’ callback
This commit is contained in:
@ -14,7 +14,7 @@ fn workflow() {
|
||||
use sqlite::State;
|
||||
|
||||
macro_rules! pair(
|
||||
($one:expr, $two:expr) => ((String::from($one), String::from($two)));
|
||||
($one:expr, $two:expr) => (($one, Some($two)));
|
||||
);
|
||||
|
||||
let (path, _directory) = setup();
|
||||
|
Reference in New Issue
Block a user