Resolve default_trait_access clippy lint in PR 158
Before adoption: this commit came in with the history the project adopted, so no landing records it.
error: calling `anyhow::Chain::default()` is more clear than this expression --> tests/test_chain.rs:54:24 | 54 | let mut c: Chain = Default::default(); | ^^^^^^^^^^^^^^^^^^ help: try: `anyhow::Chain::default()` | = note: `-D clippy::default-trait-access` implied by `-D clippy::pedantic` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#default_trait_access
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- tests:+1 added−1 removed