mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
fix lints revealed by tracing change
<https://github.com/tokio-rs/tracing/pull/3108> changes #[instrument] so that several lints that were previously hidden on instrumented functions are now visible.
This commit is contained in:
parent
13203d3b45
commit
2648991092
12 changed files with 37 additions and 40 deletions
|
|
@ -147,6 +147,7 @@ pub(crate) enum AllowLoopbackRequests {
|
|||
No,
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_lines)]
|
||||
#[tracing::instrument(skip(request, log_error, allow_loopback), fields(url))]
|
||||
pub(crate) async fn send_request<T>(
|
||||
destination: &ServerName,
|
||||
|
|
@ -1883,7 +1884,7 @@ pub(crate) async fn create_invite_route(
|
|||
services().rooms.state_cache.update_membership(
|
||||
&body.room_id,
|
||||
&invited_user,
|
||||
MembershipState::Invite,
|
||||
&MembershipState::Invite,
|
||||
&sender,
|
||||
Some(invite_state),
|
||||
true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue