Commit 7afef7f
committed
fix(clippy): use derive for Default impl on OutputFormat
Rust 1.91 introduced a new lint 'derivable_impls' that flags manual
Default implementations that can be derived. Changed OutputFormat to
use #[derive(Default)] with #[default] attribute on the Json variant.
Fixes CI clippy failure on Rust 1.91.0.1 parent 2f71ab4 commit 7afef7f
1 file changed
+2
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | 17 | | |
23 | 18 | | |
24 | 19 | | |
| |||
0 commit comments