Fix items-after-statements

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-02 00:22:48 +00:00 committed by June 🍓🦴
parent 2ab427fe99
commit 68cbf19154
6 changed files with 14 additions and 13 deletions

View file

@ -49,12 +49,11 @@ impl Service {
where
T: OutgoingRequest + Debug,
{
let dest = dest.replace(services().globals.notification_push_path(), "");
trace!("Push gateway destination: {dest}");
const VERSIONS: [MatrixVersion; 1] = [MatrixVersion::V1_0];
let dest = dest.replace(services().globals.notification_push_path(), "");
trace!("Push gateway destination: {dest}");
let http_request = request
.try_into_http_request::<BytesMut>(&dest, SendAccessToken::IfRequired(""), &VERSIONS)
.map_err(|e| {