Skip to content

Commit

Permalink
clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
someone235 committed Nov 29, 2023
1 parent 3432558 commit b244f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/src/set_access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ where
db_iterator.next();
}

db_iterator.take(limit).map(move |item: Result<(Box<[u8]>, Box<[u8]>), rocksdb::Error>| match item {
db_iterator.take(limit).map(move |item| match item {
Ok((key_bytes, _)) => Ok(key_bytes[db_key.prefix_len()..].into()),
Err(err) => Err(err.into()),
})
Expand Down

0 comments on commit b244f58

Please sign in to comment.