Merge pull request #373 from JakeStanger/feat/top-level-default #279
Annotations
5 warnings
associated function `new` is never used:
src/modules/mod.rs#L88
warning: associated function `new` is never used
--> src/modules/mod.rs:88:8
|
87 | impl<W: IsA<Widget>> ModuleParts<W> {
| ----------------------------------- associated function in this implementation
88 | 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#L231
warning: variable does not need to be mutable
--> src/main.rs:231:9
|
231 | 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
|
unused import: `lazy_static::lazy_static`:
src/main.rs#L24
warning: unused import: `lazy_static::lazy_static`
--> src/main.rs:24:5
|
24 | use lazy_static::lazy_static;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|