Commit 01b85fb
committed
fix: add Default implementations to fix clippy warnings
- Add Default implementation for Rasterizer in src/image.rs
- Add Default implementation for MockTimeProvider in src/ratelimit.rs
- Remove duplicate reqwest entry from Cargo.toml [profile.release] section
Fixes clippy warnings:
- new_without_default for Rasterizer
- new_without_default for MockTimeProvider1 parent 635dbb3 commit 01b85fb
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
0 commit comments