Commit c193fa9a authored by mikolaichuk's avatar mikolaichuk Committed by GitHub
Browse files

change impl FnOnce() to generic type + trait bound (#11534)

* change impl FnOnce() to generic type + trait bound

with_transaction() function can not be used with explicit generic arguments because of this issue: https://github.com/rust-lang/rust/issues/83701



* make the same changes elsewhere

Co-authored-by: default avatarShawn Tabrizi <[email protected]>
parent 7808b0c3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment