Skip to content

Commit

Permalink
apply clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
psarna committed Nov 26, 2023
1 parent cbf8440 commit 39b454a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsql-sqlite3/ext/libsql-wasi-demo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ fn main() -> anyhow::Result<()> {
let sql = malloc.call(&mut store, 64)?;
memory.write(&mut store, sql as usize, b"PRAGMA journal_mode=WAL;\0")?;
let rc = exec_func.call(&mut store, (db, sql))?;
let _ = free.call(&mut store, sql)?;
free.call(&mut store, sql)?;
let _ = close_func.call(&mut store, db)?;
let _ = free.call(&mut store, db_path)?;
free.call(&mut store, db_path)?;

println!("rc: {rc}");

Expand Down

0 comments on commit 39b454a

Please sign in to comment.