mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 12:34:22 +01:00
remove unnecessary unwrap_or
This commit is contained in:
@@ -656,13 +656,11 @@ impl Emitter for Operator {
|
||||
.iter()
|
||||
.find(|(_, id)| id == table_identifier)
|
||||
.unwrap();
|
||||
let cursor_id = cursor_override
|
||||
.unwrap_or(program.resolve_cursor_id(table_identifier, None));
|
||||
cur_reg = table_columns(
|
||||
program,
|
||||
table,
|
||||
table_identifier,
|
||||
Some(cursor_id),
|
||||
cursor_override,
|
||||
cur_reg,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user