Apply suggestions from code review

Co-authored-by: link2xt <link2xt@testrun.org>
This commit is contained in:
Simon Laux
2023-12-12 17:59:14 +01:00
committed by bjoern
parent f493d6bb40
commit 5cdd5e0564
2 changed files with 4 additions and 4 deletions

View File

@@ -441,7 +441,7 @@ impl Context {
self.scheduler.maybe_network().await;
}
/// Do a background fetch
/// Does a background fetch
/// pauses the scheduler and does one imap fetch, then unpauses and returns
pub async fn background_fetch(&self) -> Result<()> {
if !(self.is_configured().await?) {
@@ -468,7 +468,7 @@ impl Context {
// update quota (to send warning if full)
if let Err(err) = self.update_recent_quota(&mut connection).await {
warn!(self, "Failed to update quota: {:#}.", err);
warn!(self, "Failed to update quota: {err:#}.");
}
info!(