mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-26 11:31:37 +08:00
Fix clippy warning
This commit is contained in:
parent
fe1150b0cf
commit
aa511ea337
@ -285,7 +285,7 @@ mod test {
|
|||||||
)?;
|
)?;
|
||||||
let mut stmt = db.prepare("SELECT * FROM log;")?;
|
let mut stmt = db.prepare("SELECT * FROM log;")?;
|
||||||
let mut rows = stmt.query([])?;
|
let mut rows = stmt.query([])?;
|
||||||
while let Some(_) = rows.next()? {}
|
while rows.next()?.is_some() {}
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user