diff --git a/src/main.rs b/src/main.rs index 9b6adc0..9af5e90 100644 --- a/src/main.rs +++ b/src/main.rs @@ -130,7 +130,11 @@ fn capture_updates(mastodon: elefren::Mastodon, tx: Sender) -> thread:: }) } -fn handle_messages(rx: Receiver, output: Output, client: Mastodon) -> thread::JoinHandle<()> { +fn handle_messages( + rx: Receiver, + output: Output, + client: Mastodon, +) -> thread::JoinHandle<()> { debug!("opening message handler"); thread::spawn(move || loop { if let Ok(received) = rx.try_recv() {