From 3fb18ea7e0dec68618fd5b3d1eb0b0def5af443c Mon Sep 17 00:00:00 2001 From: Xiretza Date: Tue, 23 Jan 2024 20:33:24 +0000 Subject: [PATCH] cargo fmt --- src/bot.rs | 4 +++- src/main.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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;