Merge pull request #274 from JakeStanger/dependabot/cargo/tokio-1.31.0 #199
Annotations
4 warnings
associated function `new` is never used:
src/modules/mod.rs#L87
warning: associated function `new` is never used
--> src/modules/mod.rs:87:8
|
86 | impl<W: IsA<Widget>> ModuleParts<W> {
| ----------------------------------- associated function in this implementation
87 | fn new(widget: W, popup: Option<ModulePopupParts>) -> Self {
| ^^^
|
constant `ERR_WAYLAND_DATA` is never used:
src/error.rs#L14
warning: constant `ERR_WAYLAND_DATA` is never used
--> src/error.rs:14:11
|
14 | pub const ERR_WAYLAND_DATA: &str = "Failed to get data for Wayland object";
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
variable does not need to be mutable:
src/main.rs#L170
warning: variable does not need to be mutable
--> src/main.rs:170:9
|
170 | let mut config = env::var("IRONBAR_CONFIG")
| ----^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
unused variable: `qh`:
src/clients/wayland/wl_seat.rs#L20
warning: unused variable: `qh`
--> src/clients/wayland/wl_seat.rs:20:9
|
20 | qh: &QueueHandle<Self>,
| ^^ help: if this is intentional, prefix it with an underscore: `_qh`
|
= note: `#[warn(unused_variables)]` on by default
|