Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fetchpost
: clippy:items_after_statements
warning: adding items after statements is confusing, since items exist from the start of the scope --> src/cmd/fetchpost.rs:378:5 | 378 | use std::num::NonZeroU32; | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements warning: adding items after statements is confusing, since items exist from the start of the scope --> src/cmd/fetchpost.rs:443:5 | 443 | use reqwest::blocking::Client; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements warning: adding items after statements is confusing, since items exist from the start of the scope --> src/cmd/fetchpost.rs:459:5 | 459 | use governor::{Quota, RateLimiter}; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements warning: adding items after statements is confusing, since items exist from the start of the scope --> src/cmd/fetchpost.rs:503:5 | 503 | / enum ReportKind { 504 | | Detailed, 505 | | Short, 506 | | None, 507 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements warning: adding items after statements is confusing, since items exist from the start of the scope --> src/cmd/fetchpost.rs:927:5 | 927 | const MINIMUM_WAIT_MS: u64 = 10; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements warning: adding items after statements is confusing, since items exist from the start of the scope --> src/cmd/fetchpost.rs:928:5 | 928 | const MIN_WAIT: time::Duration = time::Duration::from_millis(MINIMUM_WAIT_MS); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements
- Loading branch information