Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Oct 19, 2024
1 parent e2d3e69 commit 40499fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tx/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ impl TransactionalPartitionHandle {
pub fn fetch_update<K: AsRef<[u8]>, F: FnMut(Option<&UserValue>) -> Option<UserValue>>(
&self,
key: K,
mut f: F,
f: F,
) -> crate::Result<Option<UserValue>> {
#[cfg(feature = "single_writer_tx")]
{
Expand Down Expand Up @@ -201,7 +201,7 @@ impl TransactionalPartitionHandle {
pub fn update_fetch<K: AsRef<[u8]>, F: FnMut(Option<&UserValue>) -> Option<UserValue>>(
&self,
key: K,
mut f: F,
f: F,
) -> crate::Result<Option<UserValue>> {
#[cfg(feature = "single_writer_tx")]
{
Expand Down

0 comments on commit 40499fc

Please sign in to comment.