diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 76d7dfb00..c636521d7 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -3159,7 +3159,7 @@ void dc_accounts_maybe_network_lost (dc_accounts_t* accounts); * * The `DC_EVENT_ACCOUNTS_BACKGROUND_FETCH_DONE` event is emitted at the end, * process all events until you get this one and you can safely return to the background - * without forgeting to create notifications caused by timing race conditions. + * without forgetting to create notifications caused by timing race conditions. * * @memberof dc_accounts_t * @param timeout The timeout in seconds diff --git a/deltachat-jsonrpc/src/api.rs b/deltachat-jsonrpc/src/api.rs index 5b98bf12a..c84e95d4b 100644 --- a/deltachat-jsonrpc/src/api.rs +++ b/deltachat-jsonrpc/src/api.rs @@ -235,7 +235,7 @@ impl CommandApi { /// /// The `AccountsBackgroundFetchDone` event is emitted at the end, /// process all events until you get this one and you can safely return to the background - /// without forgeting to create notifications caused by timing race conditions. + /// without forgetting to create notifications caused by timing race conditions. async fn accounts_background_fetch(&self, timeout_in_seconds: f64) -> Result<()> { self.accounts .write() diff --git a/src/accounts.rs b/src/accounts.rs index 3454c637a..8c4a73a64 100644 --- a/src/accounts.rs +++ b/src/accounts.rs @@ -316,7 +316,7 @@ impl Accounts { /// /// The `AccountsBackgroundFetchDone` event is emitted at the end, /// process all events until you get this one and you can safely return to the background - /// without forgeting to create notifications caused by timing race conditions. + /// without forgetting to create notifications caused by timing race conditions. pub async fn background_fetch(&self, timeout: std::time::Duration) -> Result<()> { let result = tokio::time::timeout(timeout, self.background_fetch_without_timeout()).await; self.emit_event(EventType::AccountsBackgroundFetchDone);