Skip to content

Commit 63e9cd3

Browse files
Remove unnecessary explicit lifetimes
1 parent b80645c commit 63e9cd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ pub struct Requester<'i, Rq, Rp> {
410410
channel: &'i Channel<Rq, Rp>,
411411
}
412412

413-
impl<'i, Rq, Rp> Drop for Requester<'i, Rq, Rp> {
413+
impl<Rq, Rp> Drop for Requester<'_, Rq, Rp> {
414414
fn drop(&mut self) {
415415
self.channel
416416
.requester_claimed
@@ -551,7 +551,7 @@ impl<'i, Rq, Rp> Requester<'i, Rq, Rp> {
551551
}
552552
}
553553

554-
impl<'i, Rq, Rp> Requester<'i, Rq, Rp>
554+
impl<Rq, Rp> Requester<'_, Rq, Rp>
555555
where
556556
Rq: Default,
557557
{
@@ -627,7 +627,7 @@ pub struct Responder<'i, Rq, Rp> {
627627
channel: &'i Channel<Rq, Rp>,
628628
}
629629

630-
impl<'i, Rq, Rp> Drop for Responder<'i, Rq, Rp> {
630+
impl<Rq, Rp> Drop for Responder<'_, Rq, Rp> {
631631
fn drop(&mut self) {
632632
self.channel
633633
.responder_claimed
@@ -768,7 +768,7 @@ impl<'i, Rq, Rp> Responder<'i, Rq, Rp> {
768768
}
769769
}
770770

771-
impl<'i, Rq, Rp> Responder<'i, Rq, Rp>
771+
impl<Rq, Rp> Responder<'_, Rq, Rp>
772772
where
773773
Rp: Default,
774774
{

0 commit comments

Comments
 (0)