Add statsd argument to example tcp2upd systemd service file #188
GitHub Actions / clippy
failed
Dec 13, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.74.1 (a28077b28 2023-12-04)
- cargo 1.74.1 (ecb9851af 2023-10-18)
- clippy 0.1.74 (a28077b 2023-12-04)
Annotations
Check failure on line 12 in src/statsd.rs
github-actions / clippy
constant `PREFIX` is never used
error: constant `PREFIX` is never used
--> src/statsd.rs:12:7
|
12 | const PREFIX: &str = "tcp2udp";
| ^^^^^^
Check failure on line 10 in src/statsd.rs
github-actions / clippy
constant `QUEUE_SIZE` is never used
error: constant `QUEUE_SIZE` is never used
--> src/statsd.rs:10:7
|
10 | const QUEUE_SIZE: usize = 8 * 1024;
| ^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Loading