enable unused_lifetimes lint

This commit is contained in:
Charles Hall 2024-05-12 14:54:48 -07:00
parent 5d5e28770b
commit a78bf8f50b
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
8 changed files with 11 additions and 10 deletions

View file

@ -199,7 +199,7 @@ impl Service {
///
/// Returns pdu id
#[tracing::instrument(skip(self, pdu, pdu_json, leaves))]
pub(crate) async fn append_pdu<'a>(
pub(crate) async fn append_pdu(
&self,
pdu: &PduEvent,
mut pdu_json: CanonicalJsonObject,
@ -1007,7 +1007,7 @@ impl Service {
/// Append the incoming event setting the state snapshot to the state from the
/// server that sent the event.
#[tracing::instrument(skip_all)]
pub(crate) async fn append_incoming_pdu<'a>(
pub(crate) async fn append_incoming_pdu(
&self,
pdu: &PduEvent,
pdu_json: CanonicalJsonObject,