run nightly cargo fmt again

Signed-off-by: June Clementine Strawberry <june@3.dog>
This commit is contained in:
June Clementine Strawberry 2025-03-02 23:15:05 -05:00
parent 17e0384eeb
commit de53ad83b2
No known key found for this signature in database
11 changed files with 45 additions and 28 deletions

View file

@ -267,8 +267,9 @@ pub(crate) async fn get_public_rooms_filtered_helper(
let backwards = match characters.next() {
| Some('n') => false,
| Some('p') => true,
| _ =>
return Err(Error::BadRequest(ErrorKind::InvalidParam, "Invalid `since` token")),
| _ => {
return Err(Error::BadRequest(ErrorKind::InvalidParam, "Invalid `since` token"));
},
};
num_since = characters

View file

@ -197,11 +197,12 @@ pub(crate) async fn create_receipt_route(
.read_receipt
.private_read_set(&body.room_id, sender_user, count);
},
| _ =>
| _ => {
return Err!(Request(InvalidParam(warn!(
"Received unknown read receipt type: {}",
&body.receipt_type
)))),
))));
},
}
Ok(create_receipt::v3::Response {})

View file

@ -32,8 +32,9 @@ pub(crate) async fn get_hierarchy_route(
{
| None => Err!(Request(NotFound("The requested room was not found"))),
| Some(SummaryAccessibility::Inaccessible) =>
Err!(Request(NotFound("The requested room is inaccessible"))),
| Some(SummaryAccessibility::Inaccessible) => {
Err!(Request(NotFound("The requested room is inaccessible")))
},
| Some(SummaryAccessibility::Accessible(room)) => {
let (children, inaccessible_children) =