Fixes the clippy lint
```
warning: the following explicit lifetimes could be elided: 'b
--> pbs-client/src/pxar/create.rs:225:33
|
225 | fn archive_dir_contents<'a, 'b, T: SeqWrite + Send>(
| ^^
226 | &'a mut self,
227 | encoder: &'a mut Encoder<'b, T>,
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
225 ~ fn archive_dir_contents<'a, T: SeqWrite + Send>(
226 | &'a mut self,
227 ~ encoder: &'a mut Encoder<'_, T>,
|
```
Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
}
}
- fn archive_dir_contents<'a, 'b, T: SeqWrite + Send>(
+ fn archive_dir_contents<'a, T: SeqWrite + Send>(
&'a mut self,
- encoder: &'a mut Encoder<'b, T>,
+ encoder: &'a mut Encoder<'_, T>,
mut dir: Dir,
is_root: bool,
) -> BoxFuture<'a, Result<(), Error>> {