Skip to content

Commit

Permalink
Remove redundant closure
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse-Bakker committed Oct 16, 2023
1 parent d069b25 commit d5a0a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dozer-cache/src/cache/lmdb/cache/main_environment/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ pub trait MainEnvironment: LmdbEnvironment {
.load(&txn)?
.map(|source_states| {
serde_json::from_str(source_states.borrow())
.map_err(|e| CacheError::DeserializeSourceStates(e))
.map_err(CacheError::DeserializeSourceStates)
})
.transpose()
}
Expand Down

0 comments on commit d5a0a49

Please sign in to comment.