Clean up tracing::instrument attributes

Remove it from request handler since there's already the context of the
request path, added through TraceLayer.
This commit is contained in:
Jonas Platte
2022-02-12 15:03:30 +01:00
parent adeb8ee425
commit accdb77315
33 changed files with 7 additions and 136 deletions

View File

@@ -5,7 +5,6 @@ use ruma::api::client::r0::typing::create_typing_event;
/// # `PUT /_matrix/client/r0/rooms/{roomId}/typing/{userId}`
///
/// Sets the typing state of the sender user.
#[tracing::instrument(skip(db, body))]
pub async fn create_typing_event_route(
db: DatabaseGuard,
body: Ruma<create_typing_event::Request<'_>>,