mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fmt
This commit is contained in:
+1
-3
@@ -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| {
|
||||
|
||||
Reference in New Issue
Block a user