mikolaichuk c193fa9a60 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: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-05-31 13:34:41 +00:00
S
Description
No description provided
529 MiB
Languages
Rust 99.8%
Shell 0.2%