mirror of
https://github.com/isar/rusqlite.git
synced 2025-11-08 20:39:03 +08:00
Fix clippy warnings
This commit is contained in:
@@ -157,7 +157,7 @@ impl ArrayTabCursor<'_> {
|
||||
unsafe impl VTabCursor for ArrayTabCursor<'_> {
|
||||
fn filter(&mut self, idx_num: c_int, _idx_str: Option<&str>, args: &Values<'_>) -> Result<()> {
|
||||
if idx_num > 0 {
|
||||
self.ptr = args.get_array(0)?;
|
||||
self.ptr = args.get_array(0);
|
||||
} else {
|
||||
self.ptr = None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user