Fix a couple lints #2719
ci.yaml
on: pull_request
Build & Test Project
1m 15s
Annotations
3 warnings
|
Build & Test Project:
boulder/src/upstream/git.rs#L31
[clippy] reported by reviewdog 🐶
warning: unused variable: `pb`
--> boulder/src/upstream/git.rs:31:65
|
31 | pub async fn fetch_new_progress(url: &Url, dest_dir: &Path, pb: &ProgressBar) -> Result<Self, Error> {
| ^^ help: if this is intentional, prefix it with an underscore: `_pb`
Raw Output:
boulder/src/upstream/git.rs:31:65:w:warning: unused variable: `pb`
--> boulder/src/upstream/git.rs:31:65
|
31 | pub async fn fetch_new_progress(url: &Url, dest_dir: &Path, pb: &ProgressBar) -> Result<Self, Error> {
| ^^ help: if this is intentional, prefix it with an underscore: `_pb`
__END__
|
|
Build & Test Project:
boulder/src/upstream/git.rs#L31
[clippy] reported by reviewdog 🐶
warning: unused variable: `dest_dir`
--> boulder/src/upstream/git.rs:31:48
|
31 | pub async fn fetch_new_progress(url: &Url, dest_dir: &Path, pb: &ProgressBar) -> Result<Self, Error> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_dir`
Raw Output:
boulder/src/upstream/git.rs:31:48:w:warning: unused variable: `dest_dir`
--> boulder/src/upstream/git.rs:31:48
|
31 | pub async fn fetch_new_progress(url: &Url, dest_dir: &Path, pb: &ProgressBar) -> Result<Self, Error> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_dir`
__END__
|
|
Build & Test Project:
boulder/src/upstream/git.rs#L31
[clippy] reported by reviewdog 🐶
warning: unused variable: `url`
--> boulder/src/upstream/git.rs:31:37
|
31 | pub async fn fetch_new_progress(url: &Url, dest_dir: &Path, pb: &ProgressBar) -> Result<Self, Error> {
| ^^^ help: if this is intentional, prefix it with an underscore: `_url`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
Raw Output:
boulder/src/upstream/git.rs:31:37:w:warning: unused variable: `url`
--> boulder/src/upstream/git.rs:31:37
|
31 | pub async fn fetch_new_progress(url: &Url, dest_dir: &Path, pb: &ProgressBar) -> Result<Self, Error> {
| ^^^ help: if this is intentional, prefix it with an underscore: `_url`
|
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
__END__
|