Skip to content

Commit

Permalink
another minor enhancement
Browse files Browse the repository at this point in the history
Signed-off-by: borngraced <[email protected]>
  • Loading branch information
borngraced committed Dec 10, 2023
1 parent e48fa44 commit f51c832
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mm2src/mm2_db/src/indexed_db/drivers/cursor/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,8 @@ impl CursorDriver {

let item: InternalItem =
deserialize_from_js(js_value).map_to_mm(|e| CursorError::ErrorDeserializingItem(e.to_string()))?;
let action = self.inner.on_iteration(key)?;
let (item_action, cursor_action) = self.inner.on_iteration(key)?;

let (item_action, cursor_action) = action;
match cursor_action {
CursorAction::Continue => {
if !first_result_only {
Expand Down

0 comments on commit f51c832

Please sign in to comment.