diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:42:09 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:42:09 +0000 |
| commit | 9d86cf15f0275ffeee4519bd054e3b61dc8992ac (patch) | |
| tree | 65b5d5ffb2a11b5ecd05d01e63fb5a4a0f8b6e06 /src/http | |
| parent | a2ecfc5a63311570f0f90c7ee40117e289639cb8 (diff) | |
chore: apply cargo fmt and fix clippy warnings
Fix pre-existing clippy lints:
- &PathBuf -> &Path in audit_cleanup.rs
- too_many_arguments on process_newly_available_git_data,
process_purgatory_announcements, and HttpService::new
- clone_on_copy for PublicKey (Copy type) in purgatory cleanup loop
Diffstat (limited to 'src/http')
| -rw-r--r-- | src/http/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs index 76ffef3..c397365 100644 --- a/src/http/mod.rs +++ b/src/http/mod.rs | |||
| @@ -105,6 +105,7 @@ struct HttpService { | |||
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | impl HttpService { | 107 | impl HttpService { |
| 108 | #[allow(clippy::too_many_arguments)] | ||
| 108 | fn new( | 109 | fn new( |
| 109 | relay: LocalRelay, | 110 | relay: LocalRelay, |
| 110 | config: Config, | 111 | config: Config, |