mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 15:46:36 +00:00
Fix clippy lints
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
083811856b
commit
fba7e01c5d
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ impl<'a> Download<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn with_data_verifier<'d>(self, data_verifier: &'d mut dyn DataVerifier) -> Download<'d> {
|
pub fn with_data_verifier(self, data_verifier: &mut dyn DataVerifier) -> Download<'_> {
|
||||||
Download {
|
Download {
|
||||||
content: self.content,
|
content: self.content,
|
||||||
data_verifier: Some(data_verifier),
|
data_verifier: Some(data_verifier),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue