cargo fmt

This commit is contained in:
Xiretza 2024-01-23 20:33:24 +00:00
parent 4fcbc6fec7
commit 3fb18ea7e0
2 changed files with 4 additions and 2 deletions

View file

@ -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;

View file

@ -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;