mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 18:18:03 +00:00
make clippy happy
This commit is contained in:
parent
defb2e52e8
commit
a3298c3ce8
1 changed files with 1 additions and 6 deletions
|
@ -106,12 +106,7 @@ impl Database {
|
|||
let mut stmt = stmt.inner.borrow_mut();
|
||||
match stmt.step().map_err(into_napi_error)? {
|
||||
limbo_core::StepResult::Row => {
|
||||
let row: Vec<_> = stmt
|
||||
.row()
|
||||
.unwrap()
|
||||
.get_values()
|
||||
.map(|x| x.clone())
|
||||
.collect();
|
||||
let row: Vec<_> = stmt.row().unwrap().get_values().cloned().collect();
|
||||
to_js_value(&env, &row[0])
|
||||
}
|
||||
limbo_core::StepResult::Done => Ok(env.get_undefined()?.into_unknown()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue