Fix uninlined-format-args

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-02 00:15:02 +00:00 committed by June 🍓🦴
parent 14039d9df4
commit 9e51525c25
14 changed files with 59 additions and 123 deletions

View file

@ -294,8 +294,7 @@ pub(crate) async fn ping(_body: Vec<&str>, server: Box<ServerName>) -> Result<Ro
}
Ok(RoomMessageEventContent::text_plain(format!(
"Got non-JSON response which took {ping_time:?} time:\n{0:?}",
response
"Got non-JSON response which took {ping_time:?} time:\n{response:?}"
)))
},
Err(e) => {