diff --git a/src/bot.rs b/src/bot.rs index cc0cce6..5ac2a14 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -285,7 +285,9 @@ impl Bot { event!(Level::WARN, ?error, "handling command failed: {error:#}"); let _ignore = room .send( - RoomMessageEventContent::text_plain(format!("error handling command: {error:#}")), + RoomMessageEventContent::text_plain(format!( + "error handling command: {error:#}" + )), None, ) .await; diff --git a/src/main.rs b/src/main.rs index 0e88d31..4acf074 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,7 +9,7 @@ use clap::Parser as _; use color_eyre::{eyre::Context, Result}; use matrix_sdk::Session; use serde::{Deserialize, Serialize}; -use tracing::{instrument, event, Level}; +use tracing::{event, instrument, Level}; use xdg::BaseDirectories; mod bot;