update fmt

This commit is contained in:
yggverse 2025-08-13 17:36:52 +03:00
parent 5a3283dd83
commit 3e68048856

View file

@ -209,11 +209,11 @@ async fn main() -> Result<()> {
log::debug!( log::debug!(
"skip awaiting the completion of preload `{h}` data (`{e}`), ban until {t}." "skip awaiting the completion of preload `{h}` data (`{e}`), ban until {t}."
); );
assert!(ban.insert(i, t).is_none()); assert!(ban.insert(i, t).is_none())
} else { } else {
log::debug!( log::debug!(
"skip awaiting the completion of preload `{h}` data (`{e}`)" "skip awaiting the completion of preload `{h}` data (`{e}`)"
); )
} }
continue; continue;
} }
@ -234,7 +234,7 @@ async fn main() -> Result<()> {
Err(e) => { Err(e) => {
let t = Local::now() + Duration::from_secs(config.add_torrent_ban); let t = Local::now() + Duration::from_secs(config.add_torrent_ban);
log::debug!("failed to resolve torrent `{h}`: `{e}`, ban until {t}."); log::debug!("failed to resolve torrent `{h}`: `{e}`, ban until {t}.");
assert!(ban.insert(i, t).is_none()); assert!(ban.insert(i, t).is_none())
} }
}, },
Err(e) => { Err(e) => {
@ -242,7 +242,7 @@ async fn main() -> Result<()> {
log::debug!( log::debug!(
"skip awaiting the completion of adding torrent `{h}` data (`{e}`), ban until {t}." "skip awaiting the completion of adding torrent `{h}` data (`{e}`), ban until {t}."
); );
assert!(ban.insert(i, t).is_none()); assert!(ban.insert(i, t).is_none())
} }
} }
} }