Fix clippy warning

This commit is contained in:
gwenn 2022-03-20 12:04:50 +01:00 committed by Thom Chiovoloni
parent fe1150b0cf
commit aa511ea337

View File

@ -285,7 +285,7 @@ mod test {
)?;
let mut stmt = db.prepare("SELECT * FROM log;")?;
let mut rows = stmt.query([])?;
while let Some(_) = rows.next()? {}
while rows.next()?.is_some() {}
Ok(())
}
}