From 1939e628141c4dcdf0c177845e84daf0cd5de18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6sters?= Date: Sun, 23 May 2021 11:11:20 +0200 Subject: [PATCH] fmt --- src/ruma_wrapper.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ruma_wrapper.rs b/src/ruma_wrapper.rs index f2b9b9f..147df3c 100644 --- a/src/ruma_wrapper.rs +++ b/src/ruma_wrapper.rs @@ -137,9 +137,7 @@ where let x_matrix = match request .headers() .get_one("Authorization") - .and_then(|s| - // Split off "X-Matrix " and parse the rest - s.get(9..)) + .and_then(|s| s.get(9..)) // Split off "X-Matrix " and parse the rest .map(|s| { s.split_terminator(',') .map(|field| {