Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a clippy complaint about complex types
error: very complex type used. Consider factoring parts into `type` definitions --> src/utils.rs:286:14 | 286 | ) -> CallbackFormating<'a, 'b, fn(&mut Formatter<'_>, u32, &[(u32, &str, &str)]) -> Result> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D clippy::type-complexity` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity Signed-off-by: Uli Schlachter <[email protected]>
- Loading branch information