mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 07:33:01 +02:00
apply new rustfmt.toml changes, fix some clippy lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0317cc8cc5
commit
77e0b76408
296 changed files with 7147 additions and 4300 deletions
|
@ -9,7 +9,8 @@ use crate::{client::ignored_filter, Ruma};
|
|||
///
|
||||
/// Gets a single event.
|
||||
pub(crate) async fn get_room_event_route(
|
||||
State(services): State<crate::State>, ref body: Ruma<get_room_event::v3::Request>,
|
||||
State(services): State<crate::State>,
|
||||
ref body: Ruma<get_room_event::v3::Request>,
|
||||
) -> Result<get_room_event::v3::Response> {
|
||||
let event = services
|
||||
.rooms
|
||||
|
@ -47,7 +48,5 @@ pub(crate) async fn get_room_event_route(
|
|||
|
||||
let event = event.to_room_event();
|
||||
|
||||
Ok(get_room_event::v3::Response {
|
||||
event,
|
||||
})
|
||||
Ok(get_room_event::v3::Response { event })
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue