Fix 'elided lifetime' warning from nightly

Nightly 1.90. The fix passes on stable 1.88.

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2025-07-20 11:06:18 +02:00
commit 02a70edf99
No known key found for this signature in database
GPG key ID: DEDA74AEECA9D0F2
4 changed files with 14 additions and 11 deletions

View file

@ -334,7 +334,7 @@ impl WorkerStream {
}
}
fn close(&mut self) -> Close {
fn close(&mut self) -> Close<'_> {
Close {
stream: Pin::new(self),
}