diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 14:02:22 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 14:50:53 +0000 |
| commit | 8fc4078d60f0ccf16318fe7fa765fcdd3627fe1f (patch) | |
| tree | b8af6ea023d2fbdd400a18d90a8d7ffe1bee4d57 /src/sync/mod.rs | |
| parent | 71b6157044f305c8d7142b24bd71798035603f0e (diff) | |
chore: fix clippy warnings
- Derive Default for config structs instead of manual impl
- Fix doc comment formatting in ArchiveConfig::matches
- Collapse nested if statement in validate_announcement
- Allow too_many_arguments for SyncManager::new
Diffstat (limited to 'src/sync/mod.rs')
| -rw-r--r-- | src/sync/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sync/mod.rs b/src/sync/mod.rs index bc8c428..1ee1872 100644 --- a/src/sync/mod.rs +++ b/src/sync/mod.rs | |||
| @@ -584,6 +584,7 @@ impl SyncManager { | |||
| 584 | /// * `config` - Configuration for sync settings | 584 | /// * `config` - Configuration for sync settings |
| 585 | /// * `data_path` - Path to git data directory (for persistence) | 585 | /// * `data_path` - Path to git data directory (for persistence) |
| 586 | /// * `sync_metrics` - Optional pre-registered SyncMetrics (passed from Metrics if metrics are enabled) | 586 | /// * `sync_metrics` - Optional pre-registered SyncMetrics (passed from Metrics if metrics are enabled) |
| 587 | #[allow(clippy::too_many_arguments)] | ||
| 587 | pub fn new( | 588 | pub fn new( |
| 588 | bootstrap_relay_url: Option<String>, | 589 | bootstrap_relay_url: Option<String>, |
| 589 | service_domain: String, | 590 | service_domain: String, |