Skip to content

Commit 8f65a56

Browse files
Elide unused lifetime. (#4341)
## Motivation Curiously, it occurred on clippy locally, but not on CI. ## Proposal Do, the needed correction. ## Test Plan The CI. ## Release Plan - Nothing to do / These changes follow the usual release cycle. ## Links None
1 parent afc10a2 commit 8f65a56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linera-core/src/worker.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,9 @@ where
803803
/// Processes a certificate, e.g. to extend a chain with a confirmed block.
804804
// Other fields will be included in handle_certificate's span.
805805
#[instrument(skip_all, fields(hash = %certificate.value.value_hash))]
806-
pub async fn handle_lite_certificate<'a>(
806+
pub async fn handle_lite_certificate(
807807
&self,
808-
certificate: LiteCertificate<'a>,
808+
certificate: LiteCertificate<'_>,
809809
notify_when_messages_are_delivered: Option<oneshot::Sender<()>>,
810810
) -> Result<(ChainInfoResponse, NetworkActions), WorkerError> {
811811
match self.full_certificate(certificate).await? {

0 commit comments

Comments
 (0)