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:
parent
bdae845b14
commit
02a70edf99
4 changed files with 14 additions and 11 deletions
|
|
@ -334,7 +334,7 @@ impl WorkerStream {
|
|||
}
|
||||
}
|
||||
|
||||
fn close(&mut self) -> Close {
|
||||
fn close(&mut self) -> Close<'_> {
|
||||
Close {
|
||||
stream: Pin::new(self),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue