code: Fix typos

This commit is contained in:
Sophie Herold 2023-11-30 21:58:26 +01:00
parent 3cd96436f3
commit 5b3ad7c257
4 changed files with 6 additions and 6 deletions

View file

@ -67,7 +67,7 @@ pub enum DecoderUpdate {
Redraw,
/// Start animation
Animated,
/// And error occured during decoding
/// And error occurred during decoding
Error(anyhow::Error),
}
@ -80,7 +80,7 @@ impl UpdateSender {
}
}
/// Send occuring errors to renderer
/// Send occurring errors to renderer
pub fn spawn_error_handled<F>(&self, f: F) -> glib::JoinHandle<()>
where
F: std::future::Future<Output = Result<(), glycin::Error>> + Send + 'static,