Skip to content

Commit

Permalink
Fix: Prefix::keys doesn't eat errors anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauro Lacy committed Aug 8, 2022
1 parent fc79cdd commit db7db1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storage-plus/src/prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ where
max.map(|b| b.to_raw_bound()),
order,
)
.flat_map(move |kv| (de_fn)(store, &pk_name, kv).map(|(k, _)| Ok(k)));
.map(move |kv| (de_fn)(store, &pk_name, kv).map(|(k, _)| k));
Box::new(mapped)
}
}
Expand Down

0 comments on commit db7db1b

Please sign in to comment.