style: fix rustfmt for 2-element delay array

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Valerio 2026-04-10 17:21:53 +02:00
parent 954aabe3e8
commit 25b6282d5f

View file

@ -210,10 +210,7 @@ impl FetchClient {
/// with exponential backoff: 0s, 1s (2 attempts total).
#[instrument(skip(self), fields(url = %url))]
pub async fn fetch(&self, url: &str) -> Result<FetchResult, FetchError> {
let delays = [
Duration::ZERO,
Duration::from_secs(1),
];
let delays = [Duration::ZERO, Duration::from_secs(1)];
let mut last_err = None;
for (attempt, delay) in delays.iter().enumerate() {